My issue
My code
//Update the blanks in the code below to solve the problem
#include <stdio.h>
int main() {
int s = 14 ;
int area = s * s ;
double cost = 0.07 * s ;
printf("%d \n", area ); //Area and cost have to be output on separate lines
printf("%d", cost ); //'$' has to be printed after cost without any space
printf("$");
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone