OneCompiler

Error in Runestone

int main() {
int hour = 7;
int min = 50;
cout << "The current time is: " << endl;
cout << hour;
cout << ":"; cout << minute;
cout << endl;
cout << "I'm going to be late for my 8am!";
}

//This is 2.12.1 on Runestone. Runestone says there is no error, but min and minute are not the same thing.

1 Answer

1 year ago by

That is a good catch! I will do some digging and find out what is happening here. Thanks for alerting me to this :)

1 year ago by [email protected]