Question: Create a new program named MyDate.c . Copy or type in something like the Hello, World program and make sure you can compile and run
Create a new program named MyDate.c Copy or type in something like the
"Hello, World" program and make sure you can compile and run it
b Following the example in Section write a program that creates variables
named day, month and year What type is each variable?
Assign values to those variables that represent todays date.
c Print the value of each variable on a line by itself. This is an intermediate step
that is useful for checking that everything is working so far.
Exercises
d Modify the program so that it prints the date in standard American form:
mmddyyyy
e Modify the program again so that the total output is:
American format:
European format:
T
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
