Help me in solving CLB033 problem

My issue

My code

#include <stdio.h>
int main()include <stdio.h>
int main()
{
int s = 14;
int cost = 7;
int area = s * s;
cost = area * cost;
printf("$%d", area);
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone


Create Topic
Close

{
int s = 14;
int cost = 7;
int area = s * s;
cost = area * cost;
printf("$%d", area);
return 0;
}

Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone

@mansikundalkar
U have to put $ sign after printing the value .
like this

#include <stdio.h>

int main() {
  int s = 14;
  int area = 14 * 14;
  int cost = area * 7;
  printf("%d\n", area);     //area and cost have to be output on separate lines
  printf("%d$",cost);             //output the $ character after cost without any space
  
  return 0;
}