Answer:
import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
System.out.print("Enter a decimal value (0 to 15): ");
int num = scan.nextInt();
scan.close();
if (num < 0 || num >15) {
System.out.printf("%d is an invalid input\n", num);
} else {
System.out.printf("The hex value is %X\n", num);
}
}
}
Explanation:
Hopefully this example will get you going for the other assignments.
Answer:
1. Mass Storage Devices
2. Available Storage Space
3. Data Access Performance
4. Device Form Factor and Connection
Answer: Python
Explanation: All I know is that the programming language is Python.
You may have to pay or sign up for the text box or if it is a computer program you may need to get the full version of the software if it is a trial