fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. long double a,b;
  6. cout << "Podaj a: ";
  7. cin >> a;
  8. cout<<endl;
  9. cout << "Podaj b: ";
  10. cin >> b;
  11. cout<<endl;
  12. long double wynik=a/b;
  13. cout << setprecision(4)<<wynik<<endl;
  14. return 0;
  15. }
Success #stdin #stdout 0s 5308KB
stdin
6 2
stdout
Podaj a: 
Podaj b: 
3