Draw a flowchart or write pseudocode to represent the

This preview shows page 3 - 4 out of 4 pages.

6.Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter two values. The program outputs the sum of the two values.
7.Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter three values. The values represent hourly pay rate, the number of
Programming Logic and Design, 6eSolutions 1-4get hourlyRatedisplay “Enter the number of hours worked”get numHoursdisplay “Enter the percent withheld”get percentWithheldgrossPay = hourlyRate * numHourswithholdAmt = grossPay * percentWithheldnetPay = grossPay - withholdAmtdisplay “The net pay is ”, netPaystop

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture