SHARE
TWEET

Untitled

a guest Oct 19th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "pch.h"
  2. #include <iostream>
  3. #include <iomanip>
  4. #include <math.h>
  5. using namespace std;
  6. int main()
  7. {
  8.     setlocale(LC_ALL, "rus");
  9.     int a;
  10.     cout << "Введите число a \n";
  11.     cin >> a;
  12.     cout << "\n Число в 8-миричной системе:" << oct << a << endl;
  13.     cout << "Число в 16-тиричной системе:" << hex << a << endl;
  14.     system("pause");
  15.  
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top