Page 1 of 1

Lab 4 Write a complete C program to switch the value of two numbers if the second number is greater than the first numbe

Posted: Fri May 20, 2022 6:05 pm
by answerhappygod
Lab 4 Write A Complete C Program To Switch The Value Of Two Numbers If The Second Number Is Greater Than The First Numbe 1
Lab 4 Write A Complete C Program To Switch The Value Of Two Numbers If The Second Number Is Greater Than The First Numbe 1 (39.25 KiB) Viewed 22 times
Lab 4 Write a complete C program to switch the value of two numbers if the second number is greater than the first numbers, and then do arithmetic operation on the selected option: 1. To Add 2. To Subtract 3. To multiply 4. To divide Pseudo Code: Prompt user to enter two numbers. Get two numbers Check if first number is greater than second number Use case statement to choose your operation i.e. case 1: Add tow numbers Print result Case2: Subtract Print result .....