fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. float a,b;
  5. cout<<"a";
  6. cout<<"b";
  7. cin>>a>>b;
  8. cout<<"a+b="<<a+b<<endl;
  9. cout<<"a-b="<<a-b<<endl;
  10. cout<<"a*b="<<a*b<<endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
aba+b=-8.56648e+22
a-b=-8.56648e+22
a*b=-3.9333e-18