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
A programming language that supports relational databases is SQL (Structured Query Language)
Structured Query Language (SQL), is the principal method for communicating with Relational Databases.
A relational database is a group of data elements that are linked together by predefined connections. These elements are laid up in the form of a series of tables containing columns and rows.
- Tables are utilized for storing data about the items that will be displayed in the database.
- A column in a database contains a specific type of data, whereas a field records the actual value of an attribute.
- The table's rows indicate a collection of linked values for a single item or entity.
Each entry in a database can be assigned a unique identity known as a primary key, and rows from other tables can be linked together via foreign keys. This data may be accessible in a variety of ways without having to reorganize the database tables itself.
Learn more about Relational Databases here:
brainly.com/question/8457395?referrer=searchResults
Answer:
Intel is more for work and such, while AMD is foucsed on gamers. I use AMD because I play many games, but it really depends on what you use your computer for.
Explanation:
Program testing is an evaluative process which is also called Unit Testing by the programmers.
Explanation:
Software testing is an important step in the software development process. The procedure analyzes the functionality of it and if it meets the specified requirements or not. This is a four-stage procedure that involves analysis, planning, development, setting the test environment, and finally the execution of the test.
The main stages of testing that will result in an error-free and quality product are-
- Unit testing
- Integration testing
- System testing
- Acceptance testing