1 2 5 7 8 9
Using the above data shape a new array
1 2
5 7
8 9
Answers
Answered by
0
Answer:
#include <stdio.h>
int main()
{
int a[10]={1,2,5,7,8,9};
int i;
for(i=0;i<6;i++){
if(i%2==0)
printf("\n");
printf("%d ",a[i]);
}
}
Explanation:
Similar questions