SHARE
TWEET

Program č.1 Zdvojnásobovač

itbook Dec 4th, 2015 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <string>
  3. #include <conio.h>
  4.  
  5. using namespace std;
  6.  
  7. int main(void) {
  8.         cout << "Vitajte v zdvojnasobovaci napiste cislo a ja vam ho zdvojbasobim:" << endl;
  9.         int a;
  10.         cin >> a;
  11.         a = a * 2;
  12.         cout << "vase cislo po zdvojnasobeni: " << a << endl;
  13.         cout << "Toto a este viac najdete na nasej stranke itbook.sk" << endl;
  14.         _getch();
  15.         return 0;
  16. }
RAW Paste Data
Top