Answer:
Written in C++
bool checkfloor(double num1, double num2, double num3) {
if(floor(num1 * num2) == floor(num3)){
return true;
}
else {
return false;
}
}
Explanation:
The function written in C++
This line defines the function
bool checkfloor(double num1, double num2, double num3) {
The following if condition checks if the floor of num1 * num2 equals num3
if(floor(num1 * num2) == floor(num3)){
return true; It returns true, if yes
}
else {
return false; It returns false, if otherwise
}
}
See attachment for full program including the main
Answer:
embedded computer
Explanation:
Based on the information provided within the question it can be said that the computer that determines this is called an embedded computer. This is a microprocessor-based system that is uniquely designed in order to perform a single specific task. Once it does so, it saves the information and can be used in a much larger system such as a car dashboard system.
Answer:
Yes, The overall cost of wiring in addressable fire alarm system is significantly cheaper than the conventional one.But the addressale fire alram system is more reliable than a conventional system.
Explanation:
Conventional systems are hardware-based and use analog technology. where addressable fire alarm use digital technology. addressable system is generally more reliable than a conventional system mainly due to how the different systems are wired. With a conventional system, if a device’s wire is damaged or severed, its signal and the signal of other devices down the line cannot be transmitted to the control panel.
With an addressable system, both ends of the wire connect to the control panel. Therefore, if one end becomes damaged or severed, signals can still reach the control panel through the other end of the loop. In addressable systems, a device can be removed or disabled and it will not affect the other devices in the loop.
Answer:
See explaination
Explanation:
We refer to a compiler as a special program that processes statements written in a particular programming language and turns them into machine language or "code" that a computer's processor uses. Typically, a programmer writes language statements in a language such as Pascal or C one line at a time using an editor.
Please kindly check attachment for the step by step solution