Question: Exercise 2 . 1 a . Create a new program named MyDate.c . Copy or type in something like the Hello, World program and make

Exercise 2.1
a. 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 2.5, 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.

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 Programming Questions!