Advertisement
lewapkon

Dag to N

Nov 18th, 2012
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     long double liczba;
  8.     long double wynik;
  9.     long double przelicznik = 10.1971621;
  10.    
  11.     do
  12.     {
  13.         cout << "Podaj dekagramy: ";
  14.         cin >> liczba;
  15.  
  16.         wynik = liczba / przelicznik;
  17.         cout << "\n" << liczba << " dekagramow - to jest: " << wynik << " Newtonow\n\n\n";
  18.     } while(1);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement