Here a print message "Do you want to run again?" is asked, if we enter "y" then program will repeat.
I tried this code
#include<stdio.h>
int main()
{
int a, b, c;
char ch;
ch = 'y';
printf("enter 1st and 2nd no.");
scanf("%d%d", &a, &b);
{
c = a + b;
printf("%d", c);
printf("Do you want to run again?");
scanf("%s", &ch);
}
while(ch == 'y')
return 0;
}