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.
Answer:
abacus is first calculating device
Explanation:
Technology is a method or skill of utilizing scientific information to reach the goals that include computers, machines and also different techniques.
Advantage of using technology
- Information can be quickly stored and shared very easily.
- Technology is used in all companies and businesses to achieve the tasks in a short period with efficiency,
- Technology has reduces the human errors that have helped to reduce the work stress.
Disadvantages of using technology
- Corruption and terrorism have increased due to advancements in technology.
- with the help of technology, digital and data manipulation is done.
- Too much connected or dependent on technology can cause several psychological problems such as narcissism,depressions, distraction.
- Using too much of technology can affect physical health such as vision problems, hearing problems, neck strain.
I believe the answer is False or I may be wrong