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.
D. Reply.
<u><em>Brainiest PLEASE!
</em></u>
Answer: The Standardized feature of Windows that make it easier to manage tools are:
1. Toolbar
2. Menu
3. Taskbar
Explanation: 1. Toolbar helps to easily show the various tools that can be used on Windows.
2. Menu helps to separate the different parts of the Windows for easy access.
3. Taskbar helps to show the various tools for doing a task.
Answer:
If there are multiple schools in the teams table with the same name, each one of those rows will get joined to matching rows in the players table.
Explanation:
the answer must be match join?