Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string InputScoreOne; // Make a place to hold the string version of the score
- int TestScoreOne; // Make a place to hold the int version of the score
- Console.Write("Exam 1 Score: "); // Ask for the score
- InputScoreOne = Console.ReadLine(); // Get the user's input and store it in the string storage variable
- TestScoreOne = int.Parse(InputScoreOne;); // Convert the string version of the score to an integer for later use
- // Do other stuff here
Add Comment
Please, Sign In to add comment