Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ude<stdio.h>
- //shestocifren broj
- int main()
- {
- int broj;
- int b1,b2,b3,b4,b5,b6;
- broj=123456;
- b1=broj%10;
- b2=(broj/10)%10;
- b3=(broj/100)%10;
- b4=(broj/1000)%10;
- b5=(broj/10000)%10;
- b6=(broj/100000)%10;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment