daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest May 17th, 2018 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. main()
  4. {
  5. int a=0, b=0, c=0;
  6. while (a<10)
  7. {
  8.     c++;
  9.     if (c>9){
  10.         c=0;
  11.         b++;}
  12.     if (b>9){
  13.         b=0;
  14.         a++;}
  15.     if ((a==c) && (a>0))
  16.     printf("%d%d%d\n",a,b,c);
  17.  
  18. }}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top