Answer:
b-Nested Loops
Explanation:
To create a 1-D array we use single loop.For example:-
int a[10];
for(int i=0;i<10;i++)
{
cin>>a[i];
}
Taking input of a 1-D array.
For creating a 2-D array we use nested loops.
int a[row][column];
for(int i=0;i<row;i++)
{
for(int j=0;j<column;j++)
{
cin>>a[i][j];
}
}
Hence the answer for this question is nested loops.
Answer:
Toolbar grants direct (quick) access to a set of desired commands in a toolbar that is always visible no matter which ribbon tab is selected.
Explanation:
Given
Answer:
import java.io.*;
public class Larger {
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));// reading input from buffered reader
int a,max=-99999,i;
for(i=1;i<=5;i++)
{
a=Integer.parseInt(br.readLine());//converting string input string to int
if(a >max)
max=a;
}
System.out.println("Maximum value : "+max);
}
Explanation: