SHARE
TWEET

Skola Sasha Lisovyi

a guest Apr 24th, 2019 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int main()
  2. {
  3.     cout << "Wwedi kakoi-to nomer";
  4.     int c[10];
  5.     for(int i=0;i<10;i++){
  6.         cin >> c[i];
  7.     }
  8.     int a;
  9.     cout << "Wwedi nomer svoei skolu";
  10.     cin >> a;
  11.     for(int i=0;i<10;i++)
  12.         {
  13.         if( c[i]==a){
  14.           cout << "Ya znayu etu skolu";
  15.           }
  16.           else {
  17.                 if( i==1 )
  18.             cout << "Ya ne znayu etu skolu";
  19.           }
  20.         }
  21.     }
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