Answer:
Solution part of the question:
if(userTickets>5) //compare the value of userTickets with 5.
awardPoints = 10; // assign the 10 value to the award point
else
awardPoints=userTickets;// assign the userticket value to the awardpoint.
Output:
For the input 4 the output is 4.
For the input 5 the output is 5.
For the input 6 the output is 10.
For the input 7 the output is 10.
Explanation:
All the other part of the program is given on the question so here only if-else statement is given on the answer part. Which is pasted at the place of "/* Your solution goes here */" and the user can get the right answer.
- In the "if" statement the value of "userTickets" variable is get compared by 5 and if it is greater than 5 than variable "awardpoint" assigns the '10' value.
- Otherwise, with the help of "else" statement "userticket" variables value (which is the input value for the program) assign to the "awardpoint" variable.
Answer:
To protect equipment in the event of power-cut
To ensure stable supply of current (protects against surges)
Explanation:
The program accepts a whole number as input, multiplies that number by 12, and then outputs the product
Explanation:
This program asks user to enter two integer numbers and displays the product.
The scanner class is used as input functions.
The code is shown below :
import java.util.Scanner;
public class Demo {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.print("Enter number: ");
int num1 = scan.nextInt();
scan.close();
int product = num1*12;
System.out.println("Output: "+product);
}
}
Complete Question:
Missy loves her old Windows games. When she upgrades her Windows system, the games run fine, but the output looks fuzzy since the programs are designed only to run in VGA mode.
Group of answer choices;
A. Reboot into Safe Mode
B. Run compatibility mode for 640 x 480 resolution.
C. Reduce her screen resolution to 640 x480
D. Reboot into Low Resolution Mode
Answer:
B. Run compatibility mode for 640 x 480 resolution.
Explanation:
In this scenario, Missy loves her old Windows games. When she upgrades her Windows system, the games run fine, but the output looks fuzzy since the programs are designed only to run in VGA mode. In order to make the games work properly in Windows, Missy should run compatibility mode for 640 x 480 resolution.
The video graphics array (VGA) is the standard graphics or display interface used for computer monitors. It was developed in 1987 by IBM and it had a standard display resolution of 640 x 480 pixels.
<em>Hence, if the output of a software program (games) looks fuzzy or is not being displayed properly, you should run compatibility mode for 640 x 480 resolution. This is to enable low resolution video mode on the computer. </em>
The VGA mode is very basic because only minimal video drivers are being loaded on the windows.
Answer:
NTFS
Explanation:
NTFS (New Technology Files System) is the newer drive format. Microsoft introduced NTFS in 1993, as a component of the corporate-oriented Windows NT 3.1 and then Windows 2000. It became common in consumer computers in Windows 7 and 8 defaulting to NTFS format on new PCs.