77.7k views
5 votes
Write the pseudocode for this flowchart

1 Answer

3 votes

Answer:

Step-by-step explanation:

class TimeToSleep() {

main bunch of stuff (string argos) {

int age;

string comedy;

bool guess;

public bool imTheMasterMethod() {

guess = true;

while (guess) {

comedy = "You forgot to put the flowchart, you meathead!";

println(comedy);

scan("%d", &age);

if (age < 18) {

println("Go to sleep kiddo!");

}

}

}

}

}

User Chjch
by
6.0k points