Skip to content

Instantly share code, notes, and snippets.

View ImShizer's full-sized avatar
🦅
Democracy to everyone

Shizer ImShizer

🦅
Democracy to everyone
View GitHub Profile
@ImShizer
ImShizer / Hw.cpp
Created May 10, 2022 14:03
Homework
#include <iostream>
using namespace std;
int main() {
setlocale(0, "");
// Task 1
// double length;
// int minutes;
// cout << "Введите расстояние (в километрах): ";
// cin >> length;
#include <iostream>
#include <cmath>
using namespace std;
int main() {
setlocale(0, "ru");
double a;
double b;
// cout << "Enter first number: ";
// cin >> a;
#include <iostream>
using namespace std;
int main() {
setlocale(0, "ru");
// double mass;
// cout << "Введите массу в тоннах: ";
// cin >> mass;
// int full_num = mass * 1000000;
// cout << "Тонны: " << (int)mass << '\n';
#include <iostream>
using namespace std;
int main() {
setlocale(0, "ru");
// Task 1
// double summ;
// double percents;
// cout << "Введите сумму: ";
// cin >> summ;
#include <iostream>
#include <string>
using namespace std;
int main() {
setlocale(0, "ru");
// double n1;
// double n2;
// double n3;
// if (n1 > n2 && n1 > n3) {
#include <iostream>
#include <string>
using namespace std;
int main() {
setlocale(0, "ru");
int choice = 0, result = 1;
cout << "Добро пожаловать в игру \"О, Счастливчик\" \nТема игры: 2 Мировая \n";
cout << "Начнём с простого: какая дата начала и окончания 2 Мировой Войны\n";
cout << "1) 1941 - 1945 \n";
#include <iostream>
using namespace std;
int main() {
setlocale(0, "ru");
// Task 1
// int i = 1;
// while (i <= 100) {
// if (i % 2 == 0) {
// cout << i << '\n';
#include <iostream>
using namespace std;
int main() {
setlocale(0, "ru");
// Task 1
// int num;
// int i;
// cout << "Enter number: ";
// cin >> num;
@ImShizer
ImShizer / Thank_You_USA.cpp
Created June 14, 2022 11:23
Thank you USA, Stopping genocide, Helping small Kosova, Stopping the wrong fight, In 1999, Helping small Kosova, Two men shaking hands, Clinton and Rugova
#include <iostream>
#include <windows.h>
using namespace std;
int main() {
HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
int height = 15;
int width = 30;
int value = 1;
#include <iostream>
#include <windows.h>
#include <ctime>
using namespace std;
int main() {
HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
setlocale(0, "");
srand(time(0));
int country = 0;