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

Which of the following organisms would you expect to find in a layer of rock at the bottom of a deep canyon? a) an ammonite b) a trilobite c) a dinosaur footpri
Which issue was addressed by the Supreme Court in the Dred Scott case? A. whether Northerners could own slaves B. whether slaves were citizens or property C. wh
What can homeless people see,hear,feel,smell,taste
Which type of molecule is shown in the diagram below? A. Peptide B. Carbohydrate C. Lipid D. Nucleic acid
why autotroph are important
What did the Women’s Christian Temperance Movement campaign for?
14:16 in its lowest ratio form
These were themes of Wilson's Fourteen Points speech EXCEPT (A) creation of an international organization (B) preservation of colonial inequities (C) freedom to
Which of the following was the main reason that American colonists opposed the Stamp Act of 1765? A. The act was taxation without representation. B. The tax was
Which word is the most appropriate replacement for the word flabbergasted in this sentence? Charlene looked on, flabbergasted, as the stranger threw himself on