Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

image text in transcribed
(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Jay Greenspan, Brad Bulger

1st Edition

978-0764535376

More Books

Students also viewed these Databases questions

Question

Describe the job youd like to be doing five years from now.

Answered: 1 week ago

Question

So what disadvantages have you witnessed? (specific)

Answered: 1 week ago