Answer:
The main circuit board of a computer is the Motherboard. The Processor(CPU) is located on the circuit board. The Processor(CPU) is the circuitry that processes information. The CPU is also known as the brain of the computer. The speed of the processor is controlled by the clock. The system clock controls the timing of all computer operations.
Explanation:
Answer:
The detail answer of this question is given in explanation section.
The simple answer is option B
Explanation:
Let took at each option:
A) an html tag
An html tag is used to start and end html document. It does not have anything to do with rendering.
B) a doctype declaration
The document type declaration is necessary because it tell the browser which version of html should be rendered.
C)Body tag tell the browser. it is the visible area of website.
D) A hear tag is used to clear meta data about website.
Explanation:
circle with radius and colour red
<span>d) all of these is your correct answer</span>
Answer:
import java.util.*;
public class Main {
public static void main(String[] args)
{
Scanner scan = new Scanner();
double budget=0, num=0, total=0;
System.out.println("Your budget for the month? ");
budget=scan.nextDouble();
System.out.println("enter all expense, and after that type -9999 to quit: ");
while(num != -9999)
{
total+=num;
num=scan.nextDouble();
}
if(total<=budget)
{
System.out.println("under budget by ");
System.out.println(budget-total);
}
else
{
System.out.println("over budget by ");
System.out.println(total-budget);
}
}
}
Explanation:
- Take the budget as an input from user and store it to the budget variable.
- Loop until user has entered all his expenses and keep on adding them to the total variable.
- Check If the total is less than or equal to budget or otherwise, and then print the relevant message accordingly.