View Laba 1
/Лабораторна робота No1 (С).Програми лінійної структури. | |
//Завдання 3 | |
// Виконав : Гузо Олександр | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
setlocale(LC_ALL, "Ukrainian"); |
View Laba 2
#include <stdio.h> | |
#include <cmath> | |
#include <iostream> | |
using namespace std; | |
int main(int argc, char* argv[]) | |
{ | |
setlocale(LC_ALL, "Ukrainian"); |
View Laba 4
#define _CRT_SECURE_NO_WARNINGS | |
#include <Windows.h> | |
#include <stdio.h> | |
#include <math.h> | |
#include <iostream> | |
using namespace std; | |
float chislo(float nomer, float stepin) | |
{ | |
return (pow(nomer, stepin + 1)); | |
} |
View Laba 3
#include <iostream> | |
#include <math.h> | |
using namespace std; | |
int main() | |
{ | |
setlocale(LC_ALL, "Ukrainian"); | |
float x1, y1, x2, y2, r1, r2; | |
cout << "Введiть х - координату першого кола" << "\n"; | |
cin >> x1; | |
cout << "Введiть у - координату першого кола" << "\n"; |
View Laba 5
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
#include <math.h> | |
#include <Windows.h> | |
int main() | |
{ | |
SetConsoleCP(1251); | |
SetConsoleOutputCP(1251); | |
int n, k , m; |
View Laba 6
#include <iostream> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <time.h> | |
#include <array> | |
#include <algorithm> | |
#include <Windows.h> | |
using namespace std; | |
int main() { | |
SetConsoleCP(1251); |