下面哪是错哦?
#include <iostream.h>void main();
{
cout<<"Do you want a random number?(Y/N)";
char chAnswer;
cin>>chAnswer;
if (chAnswer == 'N')
goto DONE
else
int nRandom=rand();
cout<<"The random number created by rand() function is "<<nRandom<<endl;
}