The Question: Create the pseudo code for the following request.. You must cover
ID: 441327 • Letter: T
Question
The Question: Create the pseudo code for the following request.. You must cover the following points as minimum requirements in your project. The program must have some sort of menu that allows users to make selections to do a particular calculation must provide at least five menu items that allow the user to make a calculation Once the user makes a calculation, he/she will return to the main menu. My Response: IF HoursWorked > or = 40 THEN display full time message multiply HoursWorked by 1.5 pay period payment = HoursWorked multiplied by 1.5 display pay period payment display annual bonus subtract 10 from HoursWorked multiply answer by 12 display annual bonus in dollars display congratulations ELSE display part time message multiply HoursWorked by 1 pay period payment = HoursWorked multiplied by 1 display no annual bonus/part time message display we value your service RETURN to MainMenu END IF NOTE: (My Question) 1. How can I change the above from 2 menu to 5 menu? 2. How can I implement exit strategy in the above? *** If it is hard to change the above to 5 menu, can you give another example of mathematical pseudo code with 5 menu please? Cheers,Explanation / Answer
Hope it helps...it is the code of a calculator, with 4 functions and quit option...making it 5 menus...Use the same logic for your problem... Do not forget to rate me a lifesaver 5 stars... :) classCalculatorProgram main() num numberA, numberB num operatorSym output
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.