Question: Write a C program that does the following tasks: 1) Declare a string called First_Name and read its value from the keyboard. 2) Print to

Write a C program that does the following tasks:
1) Declare a string called First_Name and read its value from the keyboard.
2) Print to the screen the number of characters that exists in First_Name.
3) Declare a string called Last_Name and read its value from the
keyboard.
4) Declare a string called Full_Name which combines the first name and
the last name and prints the value of Full_Name to the screen.
5) Declare a string called Email and reads its value from the keyboard. After that, the program declares a string called Username to store the username part of the email and a string called Domain to store the domain part of the email. Finally, the program prints the values of Username and Domain each on a separate line.
Hint: the username and domain are separated by @ character.
6) Declare a string called System_Date and assign it Tuesday-04-01- 2022 as an initial value. After that, declare another string called Date and read its value from the keyboard. Finally, compare the System_Date and the Date strings and if both matches print the message The entered date is todays date, otherwise print the message The entered date is NOT todays date.
 Write a C program that does the following tasks: 1) Declare

Sample Output: Please enter your first name: Heba The number of characters in your first name is: 4 Please enter your last name: Aldahoud Your full name is: Heba Aldahoud Please enter your e-mail address: heba_d@gmail.com Username: heba_d Domain: gmail.com Please enter a date: Tuesday-04-01-2022 The entered date is today's date

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!