Answered step by step
Verified Expert Solution
Question
1 Approved Answer
instructions: modify the following pseudocode where you incorporate a sentinel (-1) for the variable that denotes the speed, the program should print the output: output
instructions:
modify the following pseudocode where you incorporate a sentinel (-1) for the variable that denotes the speed, the program should print the output: output > enter the speed (-1 to finish): 23.4 >enter the time in minutes: 12 > the distance is 279.6 m >enter speed (-1 to finish): -1
codigo Start Store 20 in the speed variable. tore 10 in the time variable. lultiply speed by time and store the result in the distance variable. isplay the contents of the distance variable nd rucciones: fique el siguiente Pseudocdigo donde incorpore un sentinela (-1) para la variable que denota la velocidad, el programa debera de mir la siguiente salida: ut e la velocidad (-1 para terminar): 23.4 e el tiempo en minutos: 12 Jistancia es 279.6 m e la velocidad (-1 para terminar): -1 toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). T. E A I U S Arial Paragraph 14px 11! V QUESTION 1 Pseudocdigo Start Store 20 in the speed variable. Store 10 in the time variable. Multiply speed by time and store the result in the distance variable Display the contents of the distance variable End
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started