Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
31(10) = 11111(2)
51(10) = 110011(2)
16(10) = 10000(2)
11101101(2) = 237(10)
110101(2) = 53(10)
1011011(2) = 91(10)
#include < stdio.h> #include < stdlib.h> #include < conio.h> #include < math.h> int main(){ int x, y; printf("\n vvedite x and y: "); scanf("%d" "%d", & x, & y); if (x < y) printf("\n x = %d, y = %d", (x + y)/2, 2 * x * y); else printf("\n x = %d, y = %d", 2 * x * y, (x + y)/2); printf("\n\n to "); getch( ); return 0; }
32 - вопроса, 32 - ответа
Популярные вопросы