Lab 4 Write a complete C program to switch the value of two numbers if the second number is greater than the first numbe
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Lab 4 Write a complete C program to switch the value of two numbers if the second number is greater than the first numbe
statement to choose your operation i.e. case 1: Add tow numbers Print result Case2: Subtract Print result .....
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