My issue
Shouldnt the $ symbol be before the value
My code
#include <stdio.h>
int main(void) {
int s = 14;
int area = s*s;
int cost = 7*area;
printf("%d\n",area);
printf("$%d",cost);
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone