#include #include #include void main() { SetConsoleCP(1252); SetConsoleOutputCP(1251); float h; printf("Ведите высоту в меетрах\n"); scanf_s("%f", &h); float g = 9.8; float t = sqrt(2 * h / g); printf("Предмет падает с высоты %f метров\n", h); printf("Он упадет черес %f секунд\n", t); }