The process that involves writing down your main ideas, subpoints, and supporting material, then using geometric shapes is mapping.
This includes uses of arrows to indicate logical relationships.
<h3>What is mapping?</h3>
mapping can be regarded as the prescribed way of assigning an object to each object in one set a particular object.
Learn more about mapping at:
brainly.com/question/25168859
Program or algorithm
They are synonymy's
Answer:
public class print{
public static void fillArray(int[] arr, int initialValue){
int n = arr.length;
for(int i=0;i<n;i++){
arr[i] = initialValue++;
}
for(int i=0;i<n;i++){
System.out.print(arr[i]+" ");
}
}
public static void main(String []args){
int[] array = new int[5];
int initialValue =3;
fillArray(array,initialValue);
}
}
Explanation:
Create the function with two parameter first is array and second is integer.
Then, declare the variable and store the size of array.
Take the for and fill the array from the incremented value of initialValue by 1 at every run of loop.
After loop, print the element of the array.
Create the main function which is used for calling the function and also declare the array with size 5 and initialValue with 3. After that, call the function with this argument.