Compare commits

...

2 Commits

View File

@ -178,3 +178,26 @@ INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
}
return (INT_PTR)FALSE;
}
#include <stdio.h>
#include <Windows.h>
void main() {
int v1, v2, v3;
int max;
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
printf("Введите 3 числа: ");
scanf_s("%d%d%d", &v1, &v2, &v3);
max = v1;
if (v2 > max) {
max = v2;
}
if (v3 > max) {
max = v3;
}
printf("max = %d", max);
}