Advertisement
Guest User

3ta zadaca

a guest
Feb 25th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int l,n;
  8. l=0;
  9. cout<<"Vnesi priroden broj"<<endl;
  10. cin>>n;
  11. while(n>10);
  12. {
  13. n=n/10;
  14. l++;
  15. }
  16. if(l>15)
  17. cout<<"Brojot ima povejke od 15 cifri"<<endl;
  18. else
  19. cout<<"Brojot ima pomalce od 15 cifri"<<endl;
  20.  
  21. return 0;
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement