Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- while (true) {
- int n;
- cin>>n;
- if(!cin>>n) {
- cout<<"Vvedi cifru";
- cin.clear();
- while(cin.get() != '\n') ;
- }
- else
- cout<<"cifra";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement