#include <stdio.h>
int main() {
int i,array[10]={ 17,23,34,54,12,56,31,56,56,12};
int sum = array[3] + array[0];
int difference = array [3] - array[2];
printf("sum of the 1st and 4th element of the array: %d\n", sum);
printf("difference between 4th and 3rd element of the array:%d\n", difference);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: