my problem is that it is not working that i want to do.
here is the code:
Code:#include<stdio.h>
main()
{
int a,b,sum;
char a='y';
do
{printf("Enter two number to get the sum\n");
scanf("%d%d",&a,&b);
sum=a+b;
printf("the sum is %d\n",sum);
printf("do you want to continue?(y/n)\n");
scanf("%c",&a);
}
while(a=='y');
}