Compare commits
No commits in common. "fc81b17c6782ef367187ee7e2b5a349ab064160a" and "6fd21978a69051e1f2f7f516f78db3ed3c09d996" have entirely different histories.
fc81b17c67
...
6fd21978a6
@ -178,26 +178,3 @@ 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);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user