Answer:
see explaination
Explanation:
Function Real calcDiscountPrice(Real price, Real percentage) // Calculate the discount.
Declare Real discount= (price * percentage) / 100.0 // Subtract the discount from the price.
//dividing by 100.0 because of % concept
Declare Real discountPrice = price - discount // Return the discount price.
Return discount End Function
Answer:
Service record (SRV)
Explanation:
Service records (SRV record) are data records stipulating specifications of the DNS such as the port numbers, servers, hostname, priority and weight, and IP addresses of defined or cataloged services servers.
The SRV record is the source of information and the search site about the
location of particular services as such an application i need of such services will look for a related SRV record
A configured SRV is the source of the ports and personal settings for a new email client, without which the parameters set in the email client will be incorrect.
Answer:
public class PostAccount
{
public void withdraw(float savings)
{
if (savings >=0 )
{
IllegalArgumentException exception
= new IllegalArgumentException("Savings cannot be negative");
throw exception;
}
balance = savings - withdraw;
}
}
Explanation:
IllgalArgumentException is a type of NumberFormatException of runtime exception. Here in the program we have created an object of IllgalArgumentException class and after that we have thrown the error to show the condition if it does not satisfy the if condition.
Answer:
im pretty sure this is common sense
Explanation:
Answer:
The ERD is attached.
Explanation:
See the attached document for ERD