Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- main()
- {
- int sticker, page;
- printf("Numero du sticker ? :");
- scanf("%d", &sticker);
- do
- {
- if (sticker >= 0 && sticker <= 659)
- {
- if (sticker >= 0 && sticker <= 19)
- {
- printf("Aller a la page 1 a 3");
- }
- else
- {
- page = 10 + (sticker - 20) / 10;
- printf("aller a la page %d", page);
- }
- }
- else
- {
- printf("Aller a la page 77 a 79");
- }
- }
- while (page >=0 && page <= 79);
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement