Answer:
are u in HS or college work
I am trying to understand
Answer:
import java.util.Scanner;
public class num8 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter month's budget");
double monthBudget = in.nextDouble();
double totalExpenses = 0.0;
double n;
do{
System.out.println("Enter expenses Enter zero to stop");
n = in.nextDouble();
totalExpenses += n;
}while(n>0);
System.out.println("Total expenses is "+totalExpenses);
System.out.println("The amount over your budget is "+ Math.abs(monthBudget-totalExpenses));
}
}
Explanation:
- Using Java programming language
- Prompt user for month's budget
- Use Scanner class to receive and store the amount entered in a variable
- Use a do while loop to continuously request user to enter amount of expenses
- Use a variable totalExpenses to add up all the expenses inside the do while loop
- Terminate the loop when user enters 0 as amount.
- Subtract totalExpenses from monthBudget and display the difference as the amount over the budget
Answer:
Documents: For composing letters, flyers, essays, and other text-based files (similar to Microsoft Word documents)
google sheets logo Spreadsheets: For storing and organizing information (similar to Microsoft Excel workbooks)
google slides logo Presentations: For creating slideshows (similar to Microsoft PowerPoint presentations)
google forms logo Forms: For collecting and organizing data
google drawings logo Drawings: For creating simple vector graphics or diagrams
Explanation:
Answer:
You can enter a URL that (B) Uses localhost as the domain name
Explanation:
Localhost refers to your computer or the computer that is currently in use.
To run a PHP application that is deployed on your computer, the localhost (which has an IP address of 127.0.0.1) is used.
The IP address is called a "loopback" address because all data sent or received revolve around the local computer.