Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
Компанія, група, колектив
program prim;
var i,x : integer;
begin
x: =1;
for i: =1 to 5 do
begin write (x,' ');
x: =x+2;
end;
end.
в си:
# include < stdio.h> # include < conio.h> void main () {
clrscr();
int x,y,c,k;
printf("vvedite x \n");
scanf("%d",& x);
printf("vvedite y \n");
scanf("%d",& y);
printf("vvedite c \n");
scanf("%d",& c);
k=x+(y/(2*c));
printf("otvet: %d \n",k);
getch();
}
Популярные вопросы