fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // string raptor_prompt_variable_zzyz;
  6. ?? roomwidth;
  7. ?? count;
  8. ?? roomlength;
  9. ?? totalsf;
  10. ?? roomsf;
  11. ?? roomcount;
  12.  
  13. Count =0;
  14. raptor_prompt_variable_zzyz ="Enter number of rooms";
  15. cout << raptor_prompt_variable_zzyz << endl;
  16. cin >> RoomCount;
  17. TotalSf =0;
  18. while (!(Count>=RoomCount))
  19. {
  20. raptor_prompt_variable_zzyz ="Enter room length";
  21. cout << raptor_prompt_variable_zzyz << endl;
  22. cin >> RoomLength;
  23. raptor_prompt_variable_zzyz ="Enter room width";
  24. cout << raptor_prompt_variable_zzyz << endl;
  25. cin >> RoomWidth;
  26. RoomSF =RoomLength*RoomWidth;
  27. TotalSF =RoomSf+TotalSF;
  28. Count =Count+1;
  29. }
  30. cout << "Your Home is TotalSF" << endl;
  31.  
  32. return 0;
  33. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main()':
prog.cpp:6:4: error: expected primary-expression before '?' token
    ?? roomwidth;
    ^
prog.cpp:6:5: error: expected primary-expression before '?' token
    ?? roomwidth;
     ^
prog.cpp:6:7: error: 'roomwidth' was not declared in this scope
    ?? roomwidth;
       ^
prog.cpp:6:16: error: expected ':' before ';' token
    ?? roomwidth;
                ^
prog.cpp:6:16: error: expected primary-expression before ';' token
prog.cpp:6:16: error: expected ':' before ';' token
prog.cpp:6:16: error: expected primary-expression before ';' token
prog.cpp:7:4: error: expected primary-expression before '?' token
    ?? count;
    ^
prog.cpp:7:5: error: expected primary-expression before '?' token
    ?? count;
     ^
prog.cpp:7:7: error: 'count' was not declared in this scope
    ?? count;
       ^
prog.cpp:7:12: error: expected ':' before ';' token
    ?? count;
            ^
prog.cpp:7:12: error: expected primary-expression before ';' token
prog.cpp:7:12: error: expected ':' before ';' token
prog.cpp:7:12: error: expected primary-expression before ';' token
prog.cpp:8:4: error: expected primary-expression before '?' token
    ?? roomlength;
    ^
prog.cpp:8:5: error: expected primary-expression before '?' token
    ?? roomlength;
     ^
prog.cpp:8:7: error: 'roomlength' was not declared in this scope
    ?? roomlength;
       ^
prog.cpp:8:17: error: expected ':' before ';' token
    ?? roomlength;
                 ^
prog.cpp:8:17: error: expected primary-expression before ';' token
prog.cpp:8:17: error: expected ':' before ';' token
prog.cpp:8:17: error: expected primary-expression before ';' token
prog.cpp:9:4: error: expected primary-expression before '?' token
    ?? totalsf;
    ^
prog.cpp:9:5: error: expected primary-expression before '?' token
    ?? totalsf;
     ^
prog.cpp:9:7: error: 'totalsf' was not declared in this scope
    ?? totalsf;
       ^
prog.cpp:9:14: error: expected ':' before ';' token
    ?? totalsf;
              ^
prog.cpp:9:14: error: expected primary-expression before ';' token
prog.cpp:9:14: error: expected ':' before ';' token
prog.cpp:9:14: error: expected primary-expression before ';' token
prog.cpp:10:4: error: expected primary-expression before '?' token
    ?? roomsf;
    ^
prog.cpp:10:5: error: expected primary-expression before '?' token
    ?? roomsf;
     ^
prog.cpp:10:7: error: 'roomsf' was not declared in this scope
    ?? roomsf;
       ^
prog.cpp:10:13: error: expected ':' before ';' token
    ?? roomsf;
             ^
prog.cpp:10:13: error: expected primary-expression before ';' token
prog.cpp:10:13: error: expected ':' before ';' token
prog.cpp:10:13: error: expected primary-expression before ';' token
prog.cpp:11:4: error: expected primary-expression before '?' token
    ?? roomcount;
    ^
prog.cpp:11:5: error: expected primary-expression before '?' token
    ?? roomcount;
     ^
prog.cpp:11:7: error: 'roomcount' was not declared in this scope
    ?? roomcount;
       ^
prog.cpp:11:16: error: expected ':' before ';' token
    ?? roomcount;
                ^
prog.cpp:11:16: error: expected primary-expression before ';' token
prog.cpp:11:16: error: expected ':' before ';' token
prog.cpp:11:16: error: expected primary-expression before ';' token
prog.cpp:13:4: error: 'Count' was not declared in this scope
    Count =0;
    ^
prog.cpp:14:4: error: 'raptor_prompt_variable_zzyz' was not declared in this scope
    raptor_prompt_variable_zzyz ="Enter number of rooms";
    ^
prog.cpp:16:11: error: 'RoomCount' was not declared in this scope
    cin >> RoomCount;
           ^
prog.cpp:17:4: error: 'TotalSf' was not declared in this scope
    TotalSf =0;
    ^
prog.cpp:22:14: error: 'RoomLength' was not declared in this scope
       cin >> RoomLength;
              ^
prog.cpp:25:14: error: 'RoomWidth' was not declared in this scope
       cin >> RoomWidth;
              ^
prog.cpp:26:7: error: 'RoomSF' was not declared in this scope
       RoomSF =RoomLength*RoomWidth;
       ^
prog.cpp:27:7: error: 'TotalSF' was not declared in this scope
       TotalSF =RoomSf+TotalSF;
       ^
prog.cpp:27:16: error: 'RoomSf' was not declared in this scope
       TotalSF =RoomSf+TotalSF;
                ^
stdout
Standard output is empty