#include <iostream> using namespace std; int main() { int x=1,y=2,z=3; if(z<=y&&y==0){ printf("AAA"); }else{ if(x!=y||x!=z) printf("JJJ"); printf("SSS"); } return 0; }
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:7:15: error: 'printf' was not declared in this scope printf("AAA"); ^ prog.cpp:10:15: error: 'printf' was not declared in this scope printf("JJJ"); ^ prog.cpp:11:15: error: 'printf' was not declared in this scope printf("SSS"); ^
Standard output is empty