I need help with the Edhesive, code practice 9.6 question 1
How many values to add to the array:
12
[14, 64, 62, 21, 91, 25, 75, 86, 13, 87, 39, 48]
Answers
Answered by
1
Answer:
i don't know sorry for the first time
Answered by
0
Sample Solution:
C Code:
#include <stdio.h> void main() { int arr[10]; int i; printf("\n\nRead and Print elements of an array:\n"); printf("-----------------------------------------\n"); printf("Input 10 elements in the array :\n"); for(i=0; i<10; i++) { printf("element - %d : ",i); scanf("%d", &arr[i]); } printf("\nElements in array are: "); for(i=0; i<10; i++) { printf("%d ", arr[i]); } printf("\n"); }
Similar questions