Advertisement
icatalin

//Saesc 3 numere, a,b si c. Sa se determine daca cele 3 nume

Nov 21st, 2013
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. using namespace std;
  2.  
  3. int main()
  4. {
  5. int a,b,c,ca=0,cb=0,cc=0,cif;
  6. cout<<"a=";
  7. cin>>a;
  8. cout<<"b=";
  9. cin>>b;
  10. cout<<"c=";
  11. cin>>c;
  12. while (a!=0){
  13. cif=a%10;
  14. a=a/10;
  15. ca++;
  16. }
  17. blablalbal
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement