Kodewick
Start learning →
Starter←→0 / 60

Weather report

#005StarterOutput2 min

The weather report has two lines: the high and the low. Show High: 24 and Low: 15, one per line, with the numbers coming from high and low.

Should show
High: 24
Low: 15
main.cpp
#include <iostream>
using namespace std;

int main() {
    int high = 24;
    int low = 15;
    // your code here: show two lines: the high, then the low
    return 0;
}
Ctrl + Enter runs too
Result

Run tries the examples. When they look right, Submit.