Question: (3 Marks) 1. i) Using a switch, implement the following for three input numbers. Case Operation A Addition M Multiplication V Average ii) Draw the
(3 Marks) 1. i) Using a switch, implement the following for three input numbers. Case Operation A Addition M Multiplication V Average ii) Draw the flowchart for the above program. (2 Marks) 2. Write a C program in code blocks to input a number from user, if the given number is odd then add two numbers otherwise subtract two numbers. (2.5 Marks) 3. Write a C program in codeblocks to do the following operation, use else-if. (2.5 Marks) Input a number condition Operation Greater Given number is greater than zero than 0 Less than 0 Given number is lesser than zero Equal to 0 Given number is equal zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
