Question: static void Main ( string [ ] args ) { string comparison; WriteLine ( Enter a number: ) ; double var 1 = ToDouble
static void Mainstring args
string comparison;
WriteLineEnter a number:";
double var ToDoubleReadLine;
WriteLineEnter another number:";
double var ToDoubleReadLine;
if var var
comparison "less than";
else
if var var
comparison "equal to;
else
comparison "greater than";
WriteLine$"The first number is comparison
$"the second number.";
ReadKey;
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
