I would say the correct answer is #1.
Here you go,
import java.util.Scanner;
import java.util.Random;
public class OrderCalculator{
public static void main(String[] args){
float x, y, z, semi, area;
Scanner in = new Scanner(System.in);
System.out.print("Enter the 3 sides: ");
x = in.nextFloat();
y = in.nextFloat();
z = in.nextFloat();
semi = (float) ((x + y + z) / 2.0);
area = (float) Math.sqrt(semi * (semi - x) * (semi - y) * (semi - z));
System.out.printf("The area is: %.3f\n", area);
}
}
Answer:
The answer is "4".
Explanation:
In this code, on line number 4, it will give the error message, and its correct solution can be defined as follows:
In this code, a variable "score" is declared, that holds a value that is 0, and in the next step, a method "onEvent" is declared that uses a method, and in the if block, it checks the "score" value that is less than 5 and it will print the message.
Answer:
personal information management
Explanation:
In other to ensure that required information regarding basic tasks which are required, personal information management helps attain this seamlessly by systematically studying the activities which are being performed in other to or for task such as storing, retrieving, creation. Maintainance and organization of information. With personal information management, tasks are segmented and organized in a tidy and effective manner such that the right, complete and quality information is made available at all times in other to ensure that nothing is missed or lacking.