This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| int main() | |
| { | |
| setlocale(LC_ALL, ""); | |
| int mark; | |
| cout << "Введіть оцінку від 1 до 5:"; | |
| cin >> mark; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| int main() | |
| { | |
| setlocale(LC_ALL, ""); | |
| double a, b; | |
| char op; | |
| cout << "Введiть перше число: "<< endl; | |
| cin >> a; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <windows.h> | |
| #include <clocale> | |
| using namespace std; | |
| int main() { | |
| SetConsoleOutputCP(65001); | |
| SetConsoleCP(65001); | |
| setlocale(LC_ALL, "ukr"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <windows.h> | |
| #include <clocale> | |
| using namespace std; | |
| int main() { | |
| SetConsoleOutputCP(65001); | |
| SetConsoleCP(65001); | |
| setlocale(LC_ALL, "ukr"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <windows.h> | |
| #include <clocale> | |
| using namespace std; | |
| int main() { | |
| SetConsoleOutputCP(65001); | |
| SetConsoleCP(65001); | |
| setlocale(LC_ALL, "ukr"); | |
| // 1 завдання |