View Code of Problem 66

# include<stdio.h>
int main(void)
{
  int a,b;
  while(scanf("%d %d",&a,&b)!=EOF)
  {
    if(a!=b)
    {
    printf("%d/%d",a,b);
    }
    else
      printf("1");
  }
  return 0;
}

Double click to view unformatted code.


Back to problem 66