C++ · ОСНОВЫ · LESSON 03
Text box
string · about 12 minutes
Learning with progressRead the summary for free. To save the work, log in to the account.
Type the code yourself
Manually type the program from the sample. So you'll remember commands and brackets.
#include <iostream>
#include <string>
using namespace std;
int main() {
string color = "синий";
cout << color << endl;
return 0;
}Open the editor for class workSolve it yourself
Create string city with the word «Киев» and output city.
The answer is hidden. Use similar examples from the lesson notes.
Opening up your homework