From 2ed511de085f8fa4862af270f0550cd37b8a20a6 Mon Sep 17 00:00:00 2001 From: nikskob Date: Fri, 1 Nov 2024 16:01:45 +0400 Subject: [PATCH] =?UTF-8?q?=D1=8B=D0=B2=D0=B0=D1=8B=D0=B2=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ConsoleApplication1/ConsoleApplication1.cpp | 52 ++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/ConsoleApplication1/ConsoleApplication1.cpp b/ConsoleApplication1/ConsoleApplication1.cpp index 5f28270..beee8fd 100644 --- a/ConsoleApplication1/ConsoleApplication1.cpp +++ b/ConsoleApplication1/ConsoleApplication1.cpp @@ -1 +1,51 @@ - \ No newline at end of file + +#include +#include + +void main() +{ + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + printf("Hello world\n"); + printf("\n"); + + printf("Скобелев\n"); + printf("Никита\n"); + printf("Никитич\n"); + printf("Группа:Пибд-14\n"); + printf("Дата:09.01.2024\n"); + printf("Предмет:Основы программирования\n"); + printf("Лабораторная работа номер 1\n"); + + printf("\n"); + printf("Группа:Пибд-14\n"); + printf("Дата:09.01.2024\n"); + printf("Предмет:Основы программирования\n"); + printf("Лабораторная работа номер 1\n"); + + + printf("Скобелев\n"); + printf("Никита\n"); + printf("Никитич\n"); + + + printf(" \n"); + printf(" \n"); + printf(" \n"); + printf(" ***\n"); + printf(" * **\n"); + printf(" * **\n"); + printf(" * *\n"); + printf(" * **\n"); + printf(" * ** \n"); + printf(" ***\n"); + printf(" *\n"); + printf(" *\n"); + printf(" *\n"); + printf(" ****************\n"); + printf(" ************\n"); + printf(" **********\n"); + + +} +// Run program: Ctrl + F5 or Debug > Start Without Debugging menu