Write Program Repeatedly Asks User Age Name Provide Valid Input Age Consist Numbers Name C Q37061368

Write a program that repeatedly asks the user for their age and a name until they provide valid input. Age should consist ofWrite a program that repeatedly asks the user for their age and a name until they provide valid input. Age should consist of numbers and Name should consist of alphabets only. If the inputs are valid, print greetings with the user name and age. Name: Shrek2 Please use alphabets only Name: Shrek Age: four Please use numbers only Age: 24 Hello, Shrek. You are 24 years old The following passwords list contains pairs of id

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.