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