d. declaration for y needs a type or replace the semicolon in the
declaration for x with a comma.
e The ans argument to the Write( ) should not be enclosed in double
quotes.
f. If using static System.Console; is added, the System.write should
be changed to Write.
g. change the declaration of z to a double or suffix the value with an
F or f.
i. the format string is reversed. It should be {0:f2}
j. instead of using the plus to concatenate the string with the result,
use a comma to separate the arguments—because the format string
is included inside the string argument.
k. need an extra closing brace
Style issues include
a. identifier for inches should be in uppercase, since it is a constant
b. start the name of the class identifier with an uppercase character
c. second and subsequent declarations should be on separate lines
and indented under the previous declaration.