View Code of Problem 77

#include<stdio.h>
int main()
{
  int num;
  int a,b,c,d;
  scanf("%d",&num);
  a=num/1000;
  b=num/100%10;
  c=num/10%10;
  d=num%10;
  printf("%d %d %d %d",a,b,c,d);
  return 0;
}

Double click to view unformatted code.


Back to problem 77