Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int N = 0;
- do {
- cout << "Upisite N :D \n";
- cin >> N;
- }while( N < 1 || N > 26);
- for(int i = 0; i < N; ++i) {
- cout << char(int('Z') - i) << " ";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment