HarleyHusky6673 HarleyHusky6673
  • 18-10-2019
  • Computers and Technology
contestada

Write structured pseudocode to show the following: when you are on time for work you have time to buy coffee

Respuesta :

lmcoronadom
lmcoronadom lmcoronadom
  • 18-10-2019

Answer:

If( on_time == True) {

     print("Coffee")

} else {

    print("No Coffee")

}

Explanation:

Step 1 evaluate with a boolean variable if you are on time

If( on_time == True) {

Step 2 if true you have coffee

print("Coffee")

Step 3 if false you have not coffee

print("No Coffee")

Answer Link

Otras preguntas

henry ford cars was one of the first industrialist to control his entire supply chain, a strategy later called integration select the best fit a. network b. pro
With regard to insurance, risk can be defined asA.uncertainty of financial gainB.uncertainty of financial lossC.certainty of financial lossD.certainty of financ
Which of the following conditions must be met in order for a volunteer to be alone with residents:a) Residents are comfortable with the volunteerb) Volunteer ha
What restaurants does the group operate? 1) Red Lobster 2) Olive Garden 3) Bahama Breeze
At what pH does bacteria grow most rapidly?a) 7b) 4c) 10d) 2
how to turn 10.50 into a mixed number
At what speed will an object strike the ground if its free-fall time is 12.3 s? a) 120.54 m/s b) 130.65 m/s c) 140.76 m/s d) 150.87 m/s
What official position did Eusebius hold?a) Bishopb) Popec) Cardinald) Archdeacon
What is the importance of the John Peter Zenger trial in 1734?
Describe and define the common informational elements of a project?