View full question and answer details: https://www.wyzant.com/resources/answ...
Question: Write pseudocode to design a programming solution by outlining a series of steps and using appropriate indentation and keywords.
Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. For this company, an employee earns $20 an hour for the first 40 hours that they work. The employee earns overtime, $30 an hour, for each hour they work above 40 hours.Example: If an employee works 60 hours a week, they will earn $20/hr. for the first 40 hours. Then they would earn $30/hr. for the 20 hours, they worked overtime. Therefore, they earned: ($20/hr. * 40hrs) + ($30/hr. * 20 hrs.) = $800 + $600 = $1400 total.As you write your pseudocode, be sure to consider the following:
What input does the computer need?
What steps does the program need to follow to process the input? What output should result?
When might you need to use decision branching? If you used decision branching, did you account for all possible input values?
Did you use appropriate indentation and keywords (such as IF, ELSE, CALCULATE, and so on) throughout your pseudocode?
------------------------
Answered By:
Max C.
Bachelors Computer Science / Software Engineer Tutor
More information: https://www.wyzant.com/Tutors/TX/Argy...
------------------------
See full answer: https://www.wyzant.com/resources/answ...
------------------------
About: Wyzant Ask an Expert offers free answers to your toughest academic and professional questions from over 65,000 verified experts. It’s trusted by millions of students each month with the majority of questions receiving an answer within 1 hour of being asked. If you ever need more than just an answer, Wyzant also offers personalized 1-on-1 sessions with experts that will work with you to help you understand whatever you’re trying to learn.
Ask your own question for free: https://www.wyzant.com/resources/answ...
Find a tutor for a 1-on-1 session: https://www.wyzant.com?utm_source=youtube&utm_medium=organic&utm_campaign=aae_video
Subscribe to Wyzant on YouTube: https://www.youtube.com/subscription_...