initial commit

This commit is contained in:
2023-07-16 13:23:25 +00:00
commit c3fa5367c3
85 changed files with 4921 additions and 0 deletions

21
C++/lesson1/task4.cpp Normal file
View File

@ -0,0 +1,21 @@
#include <iostream>
#include <string>
using namespace std;
int main() {
int age1 = 1;
int age2 = 1;
int age3 = 1;
int weight1 = 4;
int weight2 = 4;
int weight3 = 1;
string color1 = "g";
string color2 = "r";
string color3 = "y";
if (age1 == age2 && age2 == age3 && weight1 == weight2 && weight2 == weight3 && !(color1 == color2 && color2 == color3)) {
cout << "YES\n";
} else {
cout << "NO\n";
}
}