RENAT
RENAT2013
Azerbaijan
Qoşuldu 29 iyl 2024
Məsələlər289
Təqdimatlar294
#include <bits/stdc++.h>using namespace std ;int main () {string bestone ;cout << "NOW WRITE TWO THINGS THAN YOU WANT TO COMPARE : " ;string a , b ;cin >> a >> b ;cout << endl ;srand ( time ( NULL ) ) ;int witchone = ( rand () % 2 ) + 1 ;if ( witchone == 1 ) {string bestone = a ;cout << bestone << " : IS THE BEST ONE " << endl ;}else if ( witchone == 2 ) {string bestone = b ;cout << bestone << " : IS THE BEST ONE " << endl ;}}
#include <iostream>#include <string>
using namespace std;
int main() {string input;getline(cin, input);for (char ch : input) {if (isupper(ch)) {cout << ch;}}cout << endl;return 0;}