I've been working on this same project for a while, and come across a completely different issue from what I was having previously. (Which I got worked out thanks to some help from you guys*Jeff*)
here's the code chunk in question.
CODE
while (another)
{
double temp = 0;
int count = 0;
Console.Write("Homework: ");
string grade3 = Console.ReadLine();
double hw = Double.Parse(grade3);
temp = hw + temp;
hwGrade = ((temp / count) * .2);
if grade3 =="";
break;
I'm getting an error of "Input string was not in a correct format"
I'm not understanding why I'm getting the error here, when the same or similar set up elsewhere in the program works perfectly fine.
Anyone have an answer to this one?
This post has been edited by Onker: 10 Oct, 2008 - 12:58 PM