View Code of Problem 77

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

Double click to view unformatted code.


Back to problem 77