Answer:
The program to this question can be given as:
Program:
#include <iostream> //header file
using namespace std; //using namespace
double MphAndMinutesToMiles(double milesPerHour, double minutesTraveled) //defining method
{
return (minutesTraveled/ 60.0)*milesPerHour; //return value.
}
int main() //defining main method
{
double milesPerHour,minutesTraveled; //define variable
cout<<"Enter miles per hour :";
cin >> milesPerHour;
cout<<"Enter travelling minutes :";
cin >> minutesTraveled;
cout << "Miles: "<< MphAndMinutesToMiles(milesPerHour, minutesTraveled)<< endl;
return 0;
}
Output:
Enter miles per hour :12
Enter travelling minutes :20
Miles: 4
Explanation:
The explanation of the above C++ program can be given as:
- In the first header file is include the function is define that is "MphAndMinutesToMiles". This function accepts two parameters that are "milesPerHour and minutesTraveled".
- Both parameter datatype is double and the function return type is also double. Inside a function calculate miles and return its value.
- In the main method, two variable defines that takes value from the user side and pass into the function. To print function return value we use "cout" function that prints function return value.
D. You will not be able install the processor in the wrong motherboard.
<u>Explanation:</u>
Brandon before buying any microprocessor for upgrading in the mother board, Brandon has to take care of following things
1. Whether upgrade is possible, if possible where mother supports or not
2. Pick socket combination is correct or not.
3. After upgrading the microprocessor, Brandon has to check whether voltage and cooling fans fit in the same space in the mother board.
4. Whether existing ram type supports or not.
5. Sometimes once fixed removing upgrading microprocessor will damage the mother board.
Since Brandon has already concluded motherboard chipset compatibility is not been checked.
Answer:
Hhhhhhhhjjjffhkvs4hjtth
Explanation:
H*jhfujttjhfhjfhhdtjdgndrjgr7kvykngimg6
<span>A. focus their visual attention on the next point on the road. A driver must have a target, it can be the car in front, a building pr a structure on the road. Targeting enables the driver to look further ahead on the road and thus be ready for any obstacle on the road.</span>