Help me in solving VAD8V2 problem

My issue

My code

#include <bits/stdc++.h>
using namespace std;

int main() {
  int s = 14;
  int area = s * s;
  int cost = 7 * 7;
  cout << area << endl;     //area and cost have to be output on separate lines
  cout << cost << endl;          //output the $ character after cost without an //space
  cout << "$";
  
  return 0;
}

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

@prathamjoshi70
u have done few mistakes like in calculating cost and putting $ sign i have corrected it.
include <bits/stdc++.h>
using namespace std;

int main() {
int s = 14;
int area = s * s;
int cost = 7 * area;
cout << area << endl; //area and cost have to be output on separate lines
cout << cost ; //output the character after cost without an //space cout << "";

return 0;
}