0
Arrays
How do i write a program that declares an integer array if 50 elements.Using array of the loop constructs,initialise the first 25 elements to the square if index variable and last 25 elements to three times the index value.Output the array so that 10 elements per line are printed.
2 Respostas
+ 8
Appears to be assignment details. Please show your attempts at solving the problem so that we can help you.
0
int arr[50];
For ( i = 0; i < 50; i++)
arr[i] = [25];
It’s my first time programming I need help in understanding the question