daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Example program
  2. #include <iostream>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.   char slovo;
  8.  
  9.   cin>>slovo;
  10.  
  11.   slovo+=1;
  12.   if (slovo>=65)
  13.     if(slovo<=90)
  14.         cout<<char(slovo)<<endl;
  15.     else
  16.     {
  17.         slovo=65;
  18.         cout<<slovo<<endl;
  19.     }
  20.    
  21.     slovo+=1;
  22.     if (slovo>=65)
  23.         if(slovo<=90)
  24.             cout<<char(slovo)<<endl;
  25.         else
  26.         {
  27.             slovo=65;
  28.             cout<<slovo<<endl;
  29.         }
  30.    
  31.     slovo+=1;
  32.     if (slovo>=65)
  33.         if(slovo<=90)
  34.             cout<<char(slovo)<<endl;
  35.         else
  36.         {
  37.             slovo=65;
  38.             cout<<slovo<<endl;
  39.         }
  40.     return 0;
  41. }
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