Answer: keeps confidential documents secure,
displays a GUI, allocates the computer's resources, and retrieves files
Explanation:
The operating system can be defined as the software installed in the system that provides the information and services to the users by controlling the hardware, software resources, and regulates the computer programs. It runs the applications and programs in the system, displays the graphic user interface for the services, stores, manipulates, and retrieves files. It prevents the unauthorized access to the data and programs by using passwords thus provides the security to the system and documents.
This is a java program with a class called Sum1.
Explanation:
While loop is used to add 10 number.
import java.util.Scanner;
public class Sum 1
{
public static void main(String args[])
{
int number, count, sum = 0;
Scanner s = new Scanner(System.in);
System.out.print("Enter the number:");
number = s.nextInt();
while(number > 0)
{
count = number % 10;
sum = sum + n;
number = number / 10;
}
System.out.println("Sum of Digits:"+sum);
}
}
Could you be more specific? So I can help you in the best way I can.