Question: Write a complete C program that accepts a number for the integer variable X and will display one of the following corresponding a) VOLTS,
Write a complete C program that accepts a number for the integer variable X and will display one of the following corresponding a) VOLTS, if 1 is entered messages: 2.50 b) OHMS, if 2 is entered c) AMPERES, if 3 is entered d) ERROR, if any other value is entered
Step by Step Solution
3.43 Rating (153 Votes )
There are 3 Steps involved in it
Heres a simple C program that fulfills the specified requirements c include int mai... View full answer
Get step-by-step solutions from verified subject matter experts
