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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started