39.7k views
5 votes
Write an expression that continues to bid until the user enters 'n'.

User John Evans
by
5.5k points

1 Answer

5 votes

I've seen this problem before, you just need the solution to the 'while' loop, right?


Assuming your variable names are the same as the generic question your while loop should look like this:


while (keepGoing != 'n')

User Dorin Baba
by
6.1k points