6. Alice in wonderland

Image result for c programming
Code:
  #include<stdio.h>
int main(){
  int b,a,c;
  printf("The bird said:\n");
  scanf("%d",&b);
  a=b%10;
  c=b/10;
  printf("Alice must go in path-%d to find her way to home",a+c);
  return 0;
}

No comments