Problem yayornay
User Esan
Submission Time 2024-06-21 13:04:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

yayornay.cpp: In function ‘int main()’:
yayornay.cpp:4:4: error: expected ‘(’ before ‘s’
4 | if s=CPIC;
| ^
| (
yayornay.cpp:5:1: error: ‘print’ was not declared in this scope; did you mean ‘printf’?
5 | print "Yay"
| ^~~~~
| printf
yayornay.cpp:7:6: error: expected ‘;’ before string constant
7 | print "Nay"
| ^~~~~~
| ;