Hi all. I hope someone is there who can explain a couple of things to me in C#.
I keep getting "identifier expected" errors and don't know what that means. can someone show me an example line so I can see what it is I'm doing wrong?
Also, I get "; expected" errors. But there is a ";" at the end of the line. Where is it to go?
My program asks the user to enter a speed <in seconds> and then calculates
The lines read as:
// then the answer is to displayed on the screen. I didn't include the Console lines //
At least the above I think would work if the ; error would quit coming up. I hope I've
explained my problems clear enough. If not . . .
I haven't done programming in a long time and some of the terms are confusing. Any help will be appreciated.
I keep getting "identifier expected" errors and don't know what that means. can someone show me an example line so I can see what it is I'm doing wrong?
Also, I get "; expected" errors. But there is a ";" at the end of the line. Where is it to go?
My program asks the user to enter a speed <in seconds> and then calculates
The lines read as:
m = 9.8; // meters //
s = 60; // time converted hours to seconds (squared) //
g = m/s * s; // this is the line for ; error //// then the answer is to displayed on the screen. I didn't include the Console lines //
At least the above I think would work if the ; error would quit coming up. I hope I've
explained my problems clear enough. If not . . .
I haven't done programming in a long time and some of the terms are confusing. Any help will be appreciated.