Create a program called dataExercise.c that declares the following variables and displays their values:
- Declare a character variable with value 'a', and display the character using printf with a %c format. Then add a second printf that displays the characater with a %d format.
- Declare a short int variable with a value set to the maximum value of a short int (the maximum value for whatever machine I happen to use to grade your assignment - so use the correct limits.h constant). Display the value using printf with a %d format.
- Declare a double variable with a value set to positive infinity. Display the value using printf with a %f format.
- Prompt the user and accept the following 4 types of values from a single input line: char int char float
- Display the values that were read in (4)
- Prompt the user and accept the following types of values from a single input line: char float int char
- Display the values that were read in (6)
- Prompt the user and accept an integer value
- Display the value read in (8) in a right-justified field of width 15, with leading zeroes
- Prompt the user and accept a float value
- Display the value read in (10) in a right-justified field of width 15, with 2 decimal points of precision, and leading spaces.