Advertisement
StefiIOE

tell numb

Jan 5th, 2019
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int prv, a;
  6. scanf("%d"&a);
  7.  prv=a/1000000;
  8.  printf("%03d/%d-%d", prv,(a/1000)%1000,a%1000);
  9.  if ((prv==70)||(prv==71)||(prv=72))
  10.  printf("T=Mobile");
  11.  else if ((prv==75)||(prv==76)||(prv==77)||(prv==78))
  12.  printf("VIP");
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement