В программе есть ошибки. Запишите листинг правильно Строки все ** своих местах! #...

0 голосов
64 просмотров

В программе есть ошибки. Запишите листинг правильно Строки все на своих местах! # include # include void main { float a,b,c printf("Wichislenie chastnogo/n"); printf ("Wwedite w odnoi stroke delimoe i delitel\n"); scan ("%f %f",&a,&b); if (b!=0) { c=a\b; printf("Chastnoe=%f\n",c); } else { printf ("oshibka\n"); { geth();


Информатика (63 баллов) | 64 просмотров
Дан 1 ответ
0 голосов

# include

using namespace std;

int main ()

{

float a,b,c;

printf("Wichislenie chastnogo/n");

printf ("Wwedite w odnoi stroke delimoe i delitel\n");

scanf ("%f %f",&a,&b);

if (b!=0)

{

c=a/b;

printf("Chastnoe=%f\n",c);

}

else

{

printf ("oshibka\n");

}

}

(670 баллов)