#include<iostream>
int main()
{
//练习1.3:
std::cout << "Hello, World" << std::endl;
//练习1.4:
int i = 5, j = 6;
std::cout << i * j << std::endl;
//练习1.5:
std::cout << "Language is poor,"
<< "show me your code!" << std::endl;
//练习1.6:
int v1 = 1;
int v2 = 2;
std::cout << "The sum of " << v1
<< " and " << v2
<< " is " << v1 + v2 << std::endl;
}
Introduction au C ++: Exercice 1.3 1.4 1.5 1.6
Je suppose que tu aimes
Origine blog.csdn.net/Xgggcalled/article/details/108477077
conseillé
Classement