Help me to code this plz.. (for billing system) | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Help me to code this plz.. (for billing system)

I want to take 4 digit number as user input.first two digits represent the account type of the user.and also i want to print "enter vaid id,if the user enter a number with less than or greater than 4 digit number..

6th Apr 2020, 3:05 PM
Chamath Rasanjana
1 Réponse
+ 4
Hint: • Use do-while loop because it is likely that you'll have to prompt for a number at least once. • Use `if` to check whether the number was within 4 digit numbers range.
6th Apr 2020, 3:09 PM
Ipang