Answer:
We can rearrange the interest formula, I = PRT to calculate the principal amount. The new, rearranged formula would be P = I / (RT), which is principal amount equals interest divided by interest rate times the amount of time.
Answer:
<em>The function is written in C++</em>
void calc_discount(double amount,bool member)
{
double discount;
if(member)
{
discount = amount - 0.10 * amount - 0.05 * amount;
}
else
{
discount = amount - 0.05 * amount;
}
cout<<"Discount = "<<discount;
}
Explanation:
<em>I've included the full source code (including the main method) as an attachment where I use comments as explanations</em>
Answer:
(A) 1
Explanation:
In UNIX the file system the file system is a central part of the operating system. The file system is for storage and retrieval of information. Programs that form the UNIX system also stores information in files.
UNIX file systems supports three files namely: ordinary file, directory files, device files or special files.
If we need to access bytes 2500-2503 it means the bytes are within the third block. So we will need only one access.
Note this is because the file control block (inside) is within the memory. If file control block was not in the memory we would have needed more disk accessses.
Answer: Local Area Network (LAN)
Explanation:
A Local Area Network (LAN) is a computer network that interconnects computers within a limited physical area such as a residence, school, laboratory, university campus or office building.
An example of LAN network is "Phone, Computer and TV connected to a single network (such as a Home Network) via Cables, Wifi, Bluetooth or Hotspot". When the devices are interconnected or connected to a LAN, it becomes accessible between each other.
A simplest example of a LAN Device is a <em>Home Router.</em>