Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main() {
- int a;
- cout << "Podaj liczbe!" << endl;
- cin >> a;
- if(a<0){
- cout << "Ujemna"<< endl;
- }else if(a<10){
- cout << "Jednocyfrowa"<< endl;
- }else if(a<100){
- cout << "Dwucyfrowa"<< endl;
- }else{
- cout << "Inna"<< endl;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement