Answer:
#include <iostream>
using namespace std;
double DrivingCost(int drivenMiles,double milesPerGallon,double dollarsPerGallon)
{
double dollarsperMile=dollarsPerGallon/milesPerGallon;//calculating dollarsperMile.
return dollarsperMile*drivenMiles;//returning thr driving cost..
}
int main() {
double ans;
int miles;
cout<<"Enter miles"<<endl;
cin>>miles;
ans=DrivingCost(miles,20.0,3.1599);
cout<<ans<<endl;
return 0;
}
Output:-
Enter miles
10
1.57995
Enter miles
50
7.89975
Enter miles
100
15.7995
Explanation:
In the function first I have calculated the dollars per mile and after that I have returned the product of dollarspermile and driven miles.This will give the cost of the Driving.
Answer:
7 raise to power 10
Explanation:
Since there are 4 possible ways to make memory chip and 3 possible ways to manufacture mother board, so for each machines we have 7 possible ways of configurations.
So total number of ways in which these machines can be configured is 7*7*7*...*7= 7raise to power 10 possible ways
Question
Student presentation concepts from another source
Letitia - a step-by-step process of breaking down glucose into energy
Mana - repeating process of the steps of the cell division, going from interphase to division, and back to interphase.
Paul - a series of organisms that show similar characteristics and compare them to those that do not
Which best describes the SmartArt graphic layout each student should use?
Answer:
Letitia would use a process, Maria would use a cycle, and Paul would use a relationship.
Explanation:
Letita's assignment requires her to show how glucose can be broken down into energy, this requires a series of steps in s linear fashion, meaning it would be best suited to a process-style diagram.
Marta's project involves showing the steps of the cell cycle: the clue is in the name. This process is not linear, and instead repeats itself, meaning it fits to a cycle diagram (i.e. a circular diagram)
Paul is comparing and contrasting different organisms. Therefore, he should use a relationship diagram to show shared characteristics as well as features that differ.
Answer:
Young-at-Heart having a youthful or fresh spirit not depended of one's age; act in a way like younger person does.
Yare lively; eager; keen; agile; dexterous; ready; prepared.
Explanation:
got those ones hope it helps