Answer:
struct item
{
float previousCost;
float taxAmount;
float updatedCost;
} itemObject;
void calculation(int cost,int quantity,float tax)
{
struct item *itemPointer=&itemObject;
itemPointer->previousCost=(cost) * (quantity);
itemPointer->taxAmount=itemPointer->previousCost * (tax/100);
itemPointer->updatedCost=itemPointer->previousCost+itemPointer->taxAmount;
}
Explanation:
- Define a structure called item that has 3 properties namely previousCost, taxAmount and updatedCost.
- The calculation function takes in 3 parameters and inside the calculation function, make a pointer object of the item structure.
- Calculate the previous cost by multiplying cost with quantity.
- Calculate the tax amount by multiplying previous cost with (tax / 100).
- Calculate the previous cost by adding previous cost with tax amount.
The OS shell allows access to the operating system services
Answer: The following BEST describes where the administrator should look <em>to find information </em>on the attack to determine if a response <em>must be prepared </em>for the systems:
Explanation:
The n<em>umbered reference system</em> used to catalog revealed vulnerabilities is called the <em>common vulnerability and exposure system</em>.
It is a dictionary of publicly disclosed cybersecurity vulnerabilities and exposures that is free to search, use and incorporate products and services, according to the terms of use.
The CVE list <u>feeds the US National Vulnerability Database</u>.
Answer:
accessing the Paragraph dialog box
Explanation: