clean up code
Closed this issue · 1 comments
incredibleLeitman commented
projectOne/ConsoleApplication1/Program.cs
Lines 12 to 15 in 156efcd
-
useless comment --> // First excerise
You can of course write developer comments in your program, but information on which type of project this is should either belong on top of the file or in the github read.me (also there is spelling error xD) -
no need to first create a variable that is then only used for printing it. You can directly write:
Console.WriteLine("TileCost Calculator");
incredibleLeitman commented
projectOne/ConsoleApplication1/Program.cs
Lines 27 to 29 in 156efcd
- also this "confirmation" prints are not really needed. You can do this, if you allow the user to verify and accept the given input (like "Those were your entered values ... You are sure this is correct? Y/N")
But if you don't allow to change this input there is not much given from printing them out again because they are still visible on the screen