Skip to content

Instantly share code, notes, and snippets.

View HappyJuni0r's full-sized avatar

HappyJuni0r

  • Joined Oct 8, 2025
View GitHub Profile
@HappyJuni0r
HappyJuni0r / dz.cpp
Created October 22, 2025 13:35
ddddz
#include <iostream>
using namespace std;
int main() {
setlocale(LC_ALL, "ukr");
const int NUMMONTHS = 5;
double monthlyIncome;
double totalIncome = 0;
#include <iostream>
#include <Windows.h>
using namespace std;
int main()
{
setlocale(LC_ALL, "ukr");
int i = -80;
long long product = 1;
@HappyJuni0r
HappyJuni0r / dz.cpp
Last active October 13, 2025 16:59
dz1310
#include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "ukr");
int x, y;
unsigned char a;
cout << "Enter your two numbes: " << endl;
cin >> x >> y;
@HappyJuni0r
HappyJuni0r / dz.cpp
Last active October 13, 2025 12:37
DZ
#include <iostream>
using namespace std;
int main() {
int number;
cout << "Введіть число від 1 до 100: ";
cin >> number;
(number < 1 || number > 100) ?
cout << "Помилка: число має бути в діапазоні від 1 до 100" << endl :