on page 59-59 the code doesn't seem to be right
on
score = Convert.ToInt32(scoreAsText);
you forgot to add the word "int" before the word "score" or it wont work. but even if u do that. well anyways heres mine, it doesnt work. i enter 100 gives me a, i enter any other number still gives me a.
Console.WriteLine("Enter Your Score: ");
string scoreAsText = Console.ReadLine();
int showscore = Convert.ToInt16(scoreAsText);
int score = 100;
if (score == 100)
{
Console.WriteLine("A");
}
else
{
Console.WriteLine("B");
}
Console.WriteLine(showscore);
Console.ReadKey();