Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main()
- {
- double x, y;
- std::cout << "Enter the value: ";
- std::cin >> x;
- std::cin.ignore(2,'\n'); \\Хак: Удаляю симовл перевода строки из буфера ввода
- if (x <= 4096)
- {
- y = 32;
- }
- else {
- y = 64;
- }
- std::cout << "You need a system with the bit " << y << std::endl;
- std::cout << "Press [Enter] to continue...";
- std::cin.ignore();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment