Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int zamiana(int stopnieC) {
  6.  
  7.     return (stopnieC * 1.8) + 32;
  8.    
  9.  
  10. }
  11.  
  12. int main() {
  13.     //int stopnieC;
  14.     //cout << "Podaj wartosc w stopniac Celsjusza: ";
  15.     //cin >> stopnieC;
  16.  
  17.  
  18.     int stopnieF = zamiana(10);
  19.     cout << stopnieF << endl;
  20.  
  21.  
  22.  
  23.  
  24.  
  25.     return 0;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement