January 2024
Beginner
240 pages
5h 41m
English
In this chapter
“Yesterday, we decided that we wanted to create a main menu,” Simon reminded Erik.
“Yes, you said if I wanted to use this program to serve many customers, I’d have to repeat the menus for each customer—ask their name and what they want to order.”
“Exactly right!” Simon said. “And what are you going to use to do that?”
“A loop, maybe? Like we did with menus. Repeat until the customer types the right numbers or types x.”
“You’re absolutely right!” Simon was really glad that his brother caught on to this programming idea so quickly. “We’ll ask the customer their name, ...
Read now
Unlock full access