Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void task1() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- int main(){
- cout << "Hello word";
- << endl;
- return 0;
- }
- )";
- system("pause");
- }
- void task2() {
- system("cls");
- cout << R"(
- #include <iostream>
- usingnamespace std;
- int main(){
- cout << "Hello word;"
- << endl;
- return 0;
- }
- )";
- system("pause");
- }
- void task3() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- int main(){
- cout << "Hello word;"
- << \n;
- return 0;
- }
- )";
- system("pause");
- }
- void task4() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- int main(){
- cout << R"Hello word;"
- << endl;
- return 0;
- }
- )";
- system("pause");
- }
- void task5() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- int main(){
- cout << "L.N. Tolstoy "The War & Peace" Moscow 2017 566 p.\n";
- return 0;
- }
- )";
- system("pause");
- }
- void task6() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- int main()
- cout << "L.N. Tolstoy \"The War & Peace\" Moscow 2017 566 p.\n";
- return 0;
- }
- )";
- system("pause");
- }
- void task7() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- int main(){
- int a = 15;
- const float b;
- b = 16;
- cout << b - a << endl;
- return 0;
- }
- )";
- system("pause");
- }
- void task8() {
- system("cls");
- cout << R"(
- #inc1ude <iostream>
- using namespace std;
- int main(){
- int a = 15;
- const float b = 16;
- cout << b - a << endl;
- return 0;
- }
- )";
- system("pause");
- }
- void task9() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- int main(){
- int a = 15;
- const float b = 16;
- cout << b - a << endl;
- return 0;
- }
- )";
- system("pause");
- }
- void task10() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- void calc_diff(){
- int a = 15;
- const float b = 16;
- cout << b - a << endl;
- return 0;
- }
- int main(){
- calc_diff();
- return 0;
- }
- )";
- system("pause");
- }
- void task11() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- void calc_diff(){
- int a = 15;
- const float b = 16;
- cout << b - a << endl;
- }
- int main(){
- calc_diff;
- return 0;
- }
- )";
- system("pause");
- }
- void task12() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- int main(){
- void calc_diff(){
- int a = 15;
- const float b = 16;
- cout << b - a << endl;
- }
- calc_diff();
- return 0;
- }
- )";
- system("pause");
- }
- void task13() {
- system("cls");
- cout << R"(
- #include <iostream>
- using namespace std;
- int main(){
- int a = 0;
- cin << a ;
- return 0;
- }
- )";
- }
- void task14() {
- system("cls");
- cout << R"(
- #include <iostream>
- int main(){
- int a = 0;
- cin >> a ;
- return 0;
- }
- )";
- system("pause");
- }
- void task15() {
- system("cls");
- cout << R"(
- !!!CONGRATULATION!!!
- SEE YOU SOON... BYE
- )";
- system("pause");
- }
- int main()
- {
- task1();
- task2();
- task3();
- task4();
- task5();
- task6();
- task7();
- task8();
- task9();
- task10();
- task11();
- task12();
- task13();
- task14();
- task15();
- }
Advertisement
Add Comment
Please, Sign In to add comment