fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a=0;
  6. int b=0;
  7. int c=0;
  8. int d=0;
  9. for(;a<=100;a++)
  10. for(;a<=100;b++)
  11. for(;a<=100;c++)
  12. for(;a<=100;d++)
  13. if(b==a*2;a1+a2==a*3;b+a2+a3==a*5){
  14. cout<<b<<""<<c<<""<<d<<end1}
  15.  
  16.  
  17. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:13:10: error: expected ‘)’ before ‘;’ token
 if(b==a*2;a1+a2==a*3;b+a2+a3==a*5){
          ^
prog.cpp:13:11: error: ‘a1’ was not declared in this scope
 if(b==a*2;a1+a2==a*3;b+a2+a3==a*5){
           ^~
prog.cpp:13:14: error: ‘a2’ was not declared in this scope
 if(b==a*2;a1+a2==a*3;b+a2+a3==a*5){
              ^~
prog.cpp:13:27: error: ‘a3’ was not declared in this scope
 if(b==a*2;a1+a2==a*3;b+a2+a3==a*5){
                           ^~
stdout
Standard output is empty