daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Mar 25th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. int main()
  3. {
  4.     int a;
  5.     float b;
  6.     std::cout << "Podaj liczbe calkowita: ";
  7.     std::cin >> a;
  8.     std::cout << "Czy wszystko działa poprawnie?" << std::cin.fail() << std::endl;
  9.    
  10.     std::cout << "Podaj liczbe rzeczywista: ";
  11.     std::cin >> b;
  12.     std::cout << "Czy wszystko działa poprawnie? " << std::cin.fail() << std::endl;
  13.    
  14.     std::cout << "Liczba a = " << a << std::endl;
  15.     std::cout << "Liczba b = " << b << std::endl;
  16.     return 0;
  17. }
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