Help me in solving CLB026 problem

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

@pranavanadh
U have to do it like this.

#include <stdio.h>

int main() {

  double pi = 3.14;
  double radius = 8.9;      //radius has to be declared as a 'double'
  double area = pi * radius * radius;

  printf("The Area of the given Circle is %f", area);
  
  return 0;
}