mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
Spelling
This commit is contained in:
@@ -91,9 +91,9 @@ namespace Change
|
|||||||
Console.WriteLine($"{nickels} nickel(s)");
|
Console.WriteLine($"{nickels} nickel(s)");
|
||||||
|
|
||||||
temp -= nickels * 5;
|
temp -= nickels * 5;
|
||||||
var pennys = (int)(temp + 0.5);
|
var pennies = (int)(temp + 0.5);
|
||||||
if (pennys > 0)
|
if (pennies > 0)
|
||||||
Console.WriteLine($"{pennys} penny(s)");
|
Console.WriteLine($"{pennies} penny(s)");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
|
|||||||
Reference in New Issue
Block a user