Help me in solving CLB033 problem

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

@thetitan220

its not $val, its always val$ .

@dpcoder_007 oh okay, I assumed its always the symbol before.