Answer:
import java.util.Arrays;
import java.util.Scanner;
public class num4 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("How many numbers? ");
int n = in.nextInt();
int []intArray = new int[n];
//Entering the values
for(int i=0; i<intArray.length;i++){
System.out.println("Enter the numbers");
intArray[i]=in.nextInt();
}
System.out.println(Arrays.toString(intArray));
int min =intArray[0];
for(int i =0; i<intArray.length; i++){
if(min>intArray[i]){
min = intArray[i];
}
}
System.out.println("The Minimum of the numbers is "+min);
}
}
Explanation:
- Using Java programming language
- Prompt the user for the number of values
- Using Scanner class receive and store in a variable
- Create an array of size n
- Using an for loop continuously ask the user to enter the integers
- Print the array of integers
- Using another for loop with an if statement, find the smallest element in the array of numbers
- Output the the smallest number
Answer:
google can find u some discord servers
Explanation:
Answer: pay a fee for the whole paper
Explanation:
"Full text available" sometimes alludes to the fact that they have the paper available, but for a price. You must click on this button to view the entire paper instead of just a summary or abstract.
Answer:
Following are the program in the Python Programming Language.
#import math package
from math import sqrt
#define function
def circle(x,y):
#return the square root
return sqrt( (x)**2 + (y)**2 )
#get input from the user
x = float(input("Enter first number between -10 and 10: "))
#get input from the user
y = float(input("Enter first number between -10 and 10: "))
#check condition
if(circle(x,y)<8):
#then, print message
print("It is in!")
#otherwise
else:
#print message
print("It is not in!")
<u>Output:</u>
Enter first number between -10 and 10: 1.5
Enter first number between -10 and 10: 2.6
It is in!
Explanation:
Here, in the following program in the Python Programming Language.
- Define the function "circle" and pass the argument "x" and "y" then, return square root of x and y.
- Set a variable "x" which get float type input from the user.
- Set a variable "y" which get float type input from the user.
- Set the if conditional statement to check that the function return the value less than 8 then, print the message.
- Otherwise, it print the following message.
It is True.
According to federal laws in the U.S, an employer is required by law to provide training to all employees. The employees should acquire this knowledge and understanding and any skills necessary for the performance of the duties. The employer is also required to certify that the training has been accomplished.