Question: Create a Flowchart and Pseudocode of the corresponding algorithm 1. Initialize variable named ANSWER to 0. 2. Input integer value for variable named A 3.

Create a Flowchart and Pseudocode of the corresponding algorithm 1. Initialize variable named ANSWER to 0. 2. Input integer value for variable named A 3. Input type of operation for character variable named OPERATION 4. Input integer value for variable named B 5. If input for OPERATION is equal to + then add variables A and B using formula ANSWER = A + B 6. If input for OPERATION is equal to - then subtract variables A and B using formula ANSWER = A - B 7. If input for OPERATION is equal to * then multiply variables A and B using formula ANSWER = A * B 8. If input for OPERATION is equal to / then divide variables A and B using formula ANSWER = A / B 9. Display ANSWER

dev c++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!