Дополнен 14 лет назад
#include "stdafx.h"
#include <conio.h>
int _tmain()
{
int rast,time;
float speed;
printf("Vvedite rastoynie>\n");
scanf("%d", &rast);
printf("Vvedite vremy>\n");
scanf("%d", &time);
speed = rast / time;
printf("Skorost ravna: %4.0f\n", speed);
_getch();