<ul class="hidden-menu">
<li id="nav-menu-item-280-5ab7b7f38d34a" class="mega-menu-item nav-item menu-item-depth-0"><a href="#about" class="menu-link main-menu-link item-title"><span>О НАС</span></a></li>
<li id="nav-menu-item-281-5ab7b7f38d4ae" class="mega-menu-item nav-item menu-item-depth-0 current-menu-ancestor current-menu-item"><a href="#course" class="menu-link main-menu-link item-title"><span>КУРСЫ</span></a></li>
<li id="nav-menu-item-282-5ab7b7f38d5d0" class="mega-menu-item nav-item menu-item-depth-0"><a href="#master" class="menu-link main-menu-link item-title"><span>МАСТЕР-КЛАССЫ</span></a></li>
<li id="nav-menu-item-283-5ab7b7f38d6f2" class="mega-menu-item nav-item menu-item-depth-0"><a href="#vacancies" class="menu-link main-menu-link item-title"><span>ТРУДОУСТРОЙСТВО</span></a></li>
<li id="nav-menu-item-284-5ab7b7f38d80d" class="mega-menu-item nav-item menu-item-depth-0"><a href="#migrate" class="menu-link main-menu-link item-title"><span>ИНОГОРОДНИМ</span></a></li>
<li id="nav-menu-item-285-5ab7b7f38d926" class="mega-menu-item nav-item menu-item-depth-0"><a href="#akcii" class="menu-link main-menu-link item-title"><span>АКЦИИ</span></a></li>
<li id="nav-menu-item-286-5ab7b7f38da3b" class="mega-menu-item nav-item menu-item-depth-0"><a href="#contacts" class="menu-link main-menu-link item-title"><span>КОНТАКТЫ</span></a></li>
</ul>
if(0 <= d && d <= 9){
return (char)('0' + d);
} else if (10 <= d && d <= 36){
return (char)(d - 10 + 'A');
} else {
return 1;
}
#include <stdio.h>
#include <conio.h>
#include <windows.h>
#define size 5
int main(int argc, char const *argv[])
{
float input_arr[size];
memset(input_arr, 0, size);
for(int i = 0; i <= size; i++){
printf("enter A[%d]", i);
scanf("%f", &input_arr[i]);
}
float combo_arr[size*2];
memset(combo_arr, 0, size);
float combo_arr1[size*2];
memset(combo_arr1, 0, size);
for(int i = 0; i <= size; i++){
combo_arr[i+2] = input_arr[i];
}
for(int i=0;i <= size;i++){
combo_arr1[i] = -(input_arr[i]/2);
}
for(int i = 0; i <= size; i++){
combo_arr[i] += combo_arr1[i];
}
for(int i = 0; i <= size; i++){
printf("%f\n", combo_arr[i]);
}
getch();
return 0;
}