My issue
the output what i am getting is correct but it is showing wrong answer
My code
#include <stdio.h>
int main(void) {
int r=8.9 , p=3.14, a; //raidus has to be declared as a 'double'
scanf("%d%d",r,p);
a=p*r*r;
printf("The Area of the given Circle is %d",a);
// your code goes here
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone