sandra0309

v2

Nov 30th, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. ude<stdio.h>
  2. //shestocifren broj
  3. int main()
  4. {
  5.  int broj;
  6.  int b1,b2,b3,b4,b5,b6;
  7.  broj=123456;
  8.  b1=broj%10;
  9.  b2=(broj/10)%10;
  10.  b3=(broj/100)%10;
  11.  b4=(broj/1000)%10;
  12.  b5=(broj/10000)%10;
  13.  b6=(broj/100000)%10;
  14.  
  15.  
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment