fork download
  1. #include<iostream>
  2. using namespace std;
  3. main()
  4. {
  5. float num1, num2, difference;
  6. cout<< "\n 5: " ;
  7. cin>>num1 ;
  8. cout<< "\n 3 : " ;
  9. cin>>num2 ;
  10. difference = num1 - num2 ;
  11. cout<< "\n The Difference between the Numbers is : " <<difference <<endl ;
  12. system("pause") ;
  13. }
Success #stdin #stdout #stderr 0.01s 5516KB
stdin
15.6
7.2
stdout
     5: 
     3 : 
     The Difference between the Numbers is : 8.4
stderr
sh: 1: pause: not found