Help Do While Loops | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help Do While Loops

My code prints output continuously and doesn't ask for another input. Please help. You are creating an automated phone system for bank clients. Number selections should activate the actions noted below as follows: 1 => Language selection 2 => Customer support 3 => Check account balance 4 => Check loan balance 0 => Exit You can use the first 4 commands in a random sequence without interrupting the phone call - only the number 0 does. Write a program that will continuously take a number as input and output the corresponding message, until the client enters 0. Sample Input 1 4 3 0 Sample Output Language selection Check loan balance Check the balance Exit

31st Mar 2021, 12:04 AM
Jon Shi
Jon Shi - avatar
1 Answer
0
Jon Shi Show your code.
31st Mar 2021, 12:14 AM
A͢J
A͢J - avatar