Advertisement
RubiksGamer

Untitled

Dec 7th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. /* run this program using the console pauser or add your own getch, system("pause") or input loop */
  4. using namespace std;
  5. int main(int argc, char** argv) {
  6. int wiek = 0;
  7.  
  8. cout<<"Podaj swoj wiek:";
  9. cin>>wiek;
  10. wiek = 2016-wiek;
  11. cout<<"Urodziles sie w ";
  12. cout<<wiek;
  13. cout<<" roku";
  14.  
  15.  
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement