Answer:
See explaination
Explanation:
MinMax.java
import java.util.*;
public class MinMax
{
static void MinMax(int[] arr)
{
int Min=arr[0]; // initializinf min and max with 1st value of array
int Max=arr[0];
for(int i=0;i<arr.length;i++) // iterating loop only once
{
if(arr[i]>Max) // checking max value
{
Max=arr[i];
}
if(arr[i]<Min) // checking min value
{
Min=arr[i];
}
}
System.out.println("Min Number is "+Min); //printing min value
System.out.println("Max Number is "+Max); //printing max value
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.print("Enter N value: "); // taking n value
int n=sc.nextInt();
int[] arr=new int[n];
System.out.println("Enter N elements:"); // taking n elements into array
for(int i=0;i<n;i++)
{
arr[i]=sc.nextInt(); // each element into the array
}
MinMax(arr); // calling MinMax() method.
}
}
Answer:
left child = 2 index +1 & right child = 2 index + 2
Please Mark Brainliest If This Helped!
Answer:
B.
Explanation:
Client-server application is a relationship between a client and a server.
In this relationship, the client (a program) requests a service from the server (the other resource).
The statement that is not true about the client-server applications is they include smart phones, tablets, iPads, laptops, desktop computers.
Rest of the statements concerning client-server relationship are true.
Therefore, option B is the answer.
Answer: c. that's displayed in the title bar of the browser
Explanation:
The title element in the html write up is used to describe the title of the work that is been carried out.
It has the format <title></title>, the title name is indicated between the opening and closing title tag.
The title does not display on the main page of the Web user's display, but it can be seen on the title bar of the Web browser.
The title element help Web user to have an idea of what a Web page is about.
D. Because if you show the owner the graph he'Il be impressed so he'll obviously want proof so show him the other store owners success quotes and then for him to trust you, Give him a trial of the product