The original Xbox had an 8GB hard disk drive, or HDD.
You basically gave yourself the answer! A hard drive.
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:
4. Removing horizontal scroll
Explanation:
Horizontal scroll can be super annoying when you're trying to view someone's web page. It can cut off part of your view and ruin the whole experience. It's best to eliminate horizontal scroll completely wherever you can.
C to organize data in a table
Answer:
0.119
Explanation:
50 independent fair games
Mean will be 50/2 = 25
Standard deviation of the loosing probability is :
* 10 = 33.536
we have to loose 33 times out of 50 games.
To find the approximate probability we use z- value table.
z value =
z - value = 2.2659
Looking at the z-value table we get 0.119.