Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int tel;
- scanf("%d",&tel);
- printf("%03d/%03d-%03d ",tel/1000000,(tel/1000)%1000,tel%1000);
- if((tel/1000000==70)||(tel/1000000==71)||(tel/1000000==72))
- printf("T-mobile");
- if((tel/1000000==75)||(tel/1000000==76))
- printf("One");
- if ((tel/1000000==77)||(tel/1000000==78))
- printf("Vip");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment