Question: Write a C program that takes the user's name, BITS ID and email from the user. Check if the length of the name contains at
Write a C program that takes the user's name, BITS ID and email from the user. Check if the length of the name contains at least alphabets, BITS ID must contain both alphabets and digits and email contains alphabets, digits, @ and dot symbols. If the conditions are satisfied for the user data, then print you have been successfully registered. Else go back and ask the user to enter the correct details. Validate the data immediately after entering each detail.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
