From Linux on the GL machine:
Create a text file named Variables.txt in your ./CMSC104/hw4 directory
Answer each of the questions below. Number them as they are below. ONE answer per line.
Use the SUBMIT utility turn in the homework.
submit cs104_grasso hw04 Variables.txt
For each of the following, indicate whether they are: 1) reserved word 2) legal indentifier 3) illegal identifier
void
MAX_ENTRIES
double
time
return
xyz123
part#2
Help_me_Rhonda_Help_Help_Me_Rhonda
Sue's
"char"
#insert
G
Write the following numbers in normal decimal notation
103e-4
1.2345e+6
123.45e+3
Write the following decimal numbers in C scientific notation
1300
123.45
0.00426
Write declaration statements that would declare and initialize variables for the following data using the datatypes of int, float or char. For example: If you are given the data 2 , the declaration statement would look like int feet = 2;
If the data itself is not in a legal C format, say "illegal". Make sure that the variable names you pick are legal and follow conventions.
'PQR'
15E-2
35
'h'
-37.491
.912
4,179
'true'
"T"
$
'$'