Need help finding errors in my pseudocode (Two)!     Declare Boolean finished = False    Declare Integer value, cube    While NOT finished       Display "Enter a value to be cubed."       Input value;       Set cube = value^3       Display value, " cubed is ", cube End While         Next, I intended the following pseudocode to display the numbers 1 through 60, and then display the message "Time’s up!". Doesnt work and has error. Declare Integer counter = 1    Const Integer TIME_LIMIT = 60    While counter < TIME_LIMIT       Display counter       Set counter = counter + 1    End While    Display "Time's up!"

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter2: Using Data
Section: Chapter Questions
Problem 8RQ
icon
Related questions
Question

Need help finding errors in my pseudocode (Two)!

    Declare Boolean finished = False

   Declare Integer value, cube

   While NOT finished

      Display "Enter a value to be cubed."

      Input value;

      Set cube = value^3

      Display value, " cubed is ", cube

End While

 

 

 

 

Next, I intended the following pseudocode to display the numbers 1 through 60, and then display the message "Time’s up!". Doesnt work and has error.

Declare Integer counter = 1

   Const Integer TIME_LIMIT = 60

   While counter < TIME_LIMIT

      Display counter

      Set counter = counter + 1

   End While

   Display "Time's up!"

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage