My issue
My code
#include <bits/stdc++.h>
using namespace std;
int main() {
int s = 14;
int area = 14 * 14;
int cost = 14 * 7;
cout << area << endl; //area and cost have to be output on separate lines
cout << cost; //output the $ character after cost without any space
cout << "$";
return 0;
}
Learning course: Learn C++
Problem Link: CodeChef: Practical coding for everyone