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:
it depends on your insurance company
Explanation:
Answer:
D. Identify the problem.
Explanation:
The five steps are -
- Understanding the problem
- Select any alternative way to solve a problem
- Select the best way to solve a problem from the list of alternative solutions.
- List the instructions to solve the problem using the selected solution and evaluate the solution .
Identify the problem - This is the first steps towards solving a given problem. One must properly comprehend what exactly the challenge is.
<h2>
Answer:</h2><h3 /><h3>Single Sign-On</h3>
<h2>
Explanation:</h2>
<h3>What is Single Sign-On? Single sign-on (SSO) is an authentication method that enables users to securely authenticate with multiple applications and websites by using just one set of credentials.</h3>