Problem | nprime2 |
---|---|
User | ZacharyTan2010 |
Submission Time | 2024-04-03 15:58:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nprime2.cpp: In function ‘int main()’:
nprime2.cpp:4:31: error: expected ‘;’ before ‘}’ token
4 | cin>>x;if(x==1){cout<<"2"}
| ^
| ;
nprime2.cpp:5:30: error: expected ‘;’ before ‘}’ token
5 | else if (x==2){cout<<"3"}
| ^
| ;