fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. float, feet
  7.  
  8. cout<<"Enter the feet";
  9. cin>><<"feet";
  10. Meter = 0.304804 * feet;
  11. cout<<"The meter is= "<<meter;
  12. cout<<meter;
  13.  
  14. system("pause")
  15.  
  16. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main()':
prog.cpp:6:7: error: expected unqualified-id before ',' token
  float, feet
       ^
prog.cpp:8:2: error: expected initializer before 'cout'
  cout<<"Enter the feet";
  ^
prog.cpp:9:7: error: expected primary-expression before '<<' token
  cin>><<"feet";
       ^
prog.cpp:10:2: error: 'Meter' was not declared in this scope
  Meter = 0.304804 * feet;
  ^
prog.cpp:10:21: error: 'feet' was not declared in this scope
  Meter = 0.304804 * feet;
                     ^
prog.cpp:11:26: error: 'meter' was not declared in this scope
  cout<<"The meter is= "<<meter;
                          ^
prog.cpp:14:16: error: 'system' was not declared in this scope
  system("pause")
                ^
stdout
Standard output is empty