Answer:
See the code snippet below
Explanation:
import java.util.Scanner;
public class LabProgram{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
System.out.println("Please enter first number: ");
int firstNumber = scan.nextInt();
System.out.println("Please enter second number: ");
int secondNumber = scan.nextInt();
maxMagnitude(firstNumber, secondNumber);
}
public static int maxMagnitude(int firstValue, secondValue){
System.out.println(Math.max(firstValue, secondValue));
}
}
Answer:
application software refers to the programs or series of instructions that allows us to do specific type of task on a personal computer examples word processing programs, spreadsheet programs, presentation programs among others
Answer:
num = float(input("Enter a number : "))
ab = abs(num)
sqrt = float(ab ** 0.5)
print(sqrt)
Explanation: