#include #include #include void main() { SetConsoleCP(1251); SetConsoleOutputCP(1251); float h = 12.0; float g = 9.8; float t = sqrt(2 * h / g); printf("предмет упадет через %f секуд\n", h); printf("предмет коснется земли через %f секунд\n",t); }