Дано описание переменных. Выбери верные ответы.
var
int1, int3: integer;
d:string ;
M: char;
begin
1.Имена переменных
2.Типы данных
258
353
Ответы на вопрос:
Хватит плодить однотипные вопросы. ответ уже был дан в предыдущей теме. #include < iostream> #include < windows.h> int main() { int v; double s, t, t1, tmpt,tmpt1,b,tmpt3; std: : cout < < "v - km\h: "; std: : cin > > v; std: : cout < < "\ns - km: "; std: : cin > > s; std: : cout < < "\nt - hour: "; std: : cin > > t; std: : cout < < "\nt1 - minut: "; std: : cin > > t1; tmpt = s / v; t -= tmpt; tmpt3 = t - tmpt; if (tmpt3 < t) { std: : cout < < "edem bez ostanovok" < < std: : endl; system("pause"); exit(1); } tmpt1 = (t * 60) / t1; b = (double)(int)tmpt1; std: : cout < < "kol ostanovok: " < < b < < std: : endl; system("pause"); }
Популярно: Информатика
-
Vladlena15121522.08.2020 14:04
-
ŦøPňŷŦĩĩ7821.02.2023 08:56
-
karinaeruslanov28.08.2020 17:45
-
gloria8131.03.2023 23:51
-
Zabon05.09.2020 21:28
-
kadaran10.10.2020 15:01
-
никич4328.07.2022 02:02
-
SofyaA321.06.2023 16:49
-
vanyalebedev124822.12.2022 22:36
-
anyaradzivon17.03.2022 23:34