(Solved):Write a program in C that asks the user if he or she wants to convert values that are lengths or weights. If the user chooses lengths, the program calls a “stub function convert_lengths” that simpl… View Answer…

 

Question

Write a program in C that asks the user if he or she wants to convert values that are lengths or weights. If the user chooses lengths, the program calls a stub function “convert_lengths” that simply indicates the user’s choice. If the user chooses weights, the program calls a stub function “convert_weights” that simply indicates the user’s choice.

Use the value 1 to indicate lengths and the value 2 to indicate

Scroll to top