#include <stdio.h>
#include <stdlib.h>
int main(void)
{
double a = 0.0;
double b = 0.0;
scanf("%lf", &a);
printf("\nThe first number is %f", a);
getchar();
return EXIT_SUCCESS;
}
The question is : how can the program continually re-prompt
I mean when i enter the number, and then the number i entered will show on the second line.
After, I want to clear the program and let me enter the number again.
Thanks.