السلام عليكم ورحمه الله وبركاته
اخواني انا عندي مجموعه من الاسئله ياريت احد يساعدني فيهن وبكون كتير شاكره
السؤال الاول:
Write a program that asks the user to enter his email account, the program then checks the validity of the email as the following:
Check if the first digit is letter, if not ask the user to renter the email again.
Look for the symbol ‘@’ in the email, if not found ask the user to renter the email.
Then to verify the email ask the user to re-enter his email account, compare it with the first email, if they are not identical ask user to renter email.
Your program should include:
Array of characters to store the email account
Pointer to move through the array elements
Two functions: validate and verify both functions receive pointer to array of chars; validate return nothing and verify return a Boolean value to main.
الله يوفئكن ياااااااااااااااااااااااااااااااااارب