Answer:
The program to this question as follows:
Program:
PRINT "Program: Area of Triangle" 'print message
INPUT "Enter base: ", base 'defining the variable base and input value from the user
INPUT "Enter height:",height 'defining variable height and input a value from user
Area=base*height/2 'formula to calculate Area
PRINT "Area of Triangle:", Area 'print Area
Output:
Program: Area of Triangle
Enter base: 2
Enter height: 3
Area of Triangle: 3
Explanation:
In the above Qbasic program, first, a print function is used to print the message.
In the next line, the input function is defined, which uses the "base and height" variable for user input.
Then another variable "Area" is defined that uses user input values to calculate the area of a triangle, and also store its calculated value. At the last, the print function is used to print Area variable value
<span>C) Stored work
I hope this helps :)
</span>
Answer:
The barn doors, and the filters form a part of the matte box
Explanation:
matte boxes are attachments that usually fit in front of the camera. They have many slots in which you can insert filters that allow you to manipulate colors in the shots , The matte box contains barn doors to protect your lens from the light.
Answer:
VPN Software
Explanation:
VPN (Virtual private network)
A network that create secure access of network to other network.
VPNs can be used in restricted websites and browsing.
Answer:
import java.util.Scanner;
public class TestClock {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter number of prices");
int numberOfPrizes = in.nextInt();
System.out.println("Enter number of participants");
int numberOfParticipants = in.nextInt();
boolean isDivisible;
if(numberOfPrizes%numberOfParticipants==0){
isDivisible=true;
System.out.println("True");
}
else {
isDivisible=false;
System.out.println("False");
}
}
}
Explanation:
Using Java Language;
- Prompt user to enter the number of prices and number of participants using the scanner class
- receive and save values in the variables numberOfPrizes and numberOfParticipants
- Create a boolean variable (isDivisible)
- Using if statement and the modulo operator (%) which returns the remainder of division check if numberOfPrizes divieds evenly by numberOfParticipants.