Answer:
Amount of gas still in cylinder = 28 pound
Explanation:
Given:
Amount of gas in cylinder = 50 pound
Amount of gas used in Ms. Jones system = 13 pound
Amount of gas used in client system = 9 pound
Find:
Amount of gas still in cylinder
Computation:
Amount of gas still in cylinder = Amount of gas in cylinder - Amount of gas used in Ms. Jones system - Amount of gas used in client system
Amount of gas still in cylinder = 50 - 13 - 9
Amount of gas still in cylinder = 28 pound
Answer:
MUDA MUDA A certain vehicle loses 3.5% of its value each year. If the vehicle has an initial value of $11,168, construct a model that represents the value of the vehicle after a certain number of years. Use your model to compute the value of the vehicle at the end of 6 years.
Explanation:
Answer:
#include<iostream>
using namespace std;
int main()
{
double data[3][5],avg,least,most,total;
int leastNum,mostNum;
for(int i=0;i<3;i++)
{
cout<<"Enter quantity of food for monkey "<<i+1<<":\n";
for(int j=0;j<5;j++)
{
cout<<"Day "<<j+1<<": ";
cin>>data[i][j];
}
}
least = data[0][0];
most = data[0][0];
for(int i = 0;i<3;i++)
{
for(int j = 0;j<5;j++)
{
total+=data[i][j];
if(data[i][j]>most)
{
most=data[i][j];
mostNum=i+1;
}
if(data[i][j]<least)
{
least=data[i][j];
leastNum=i+1;
}
}
}
avg=total/5.0;
cout<<"Average food eaten in a day by all the 3 monkeys: "<<avg<<endl;
cout<<"Most amount of food eaten in a day: "<<most<<" by monkey: "<<mostNum<<endl;
cout<<"Least amount of food eaten in a day: "<<least<<" by monkey: "<<leastNum<<endl;
return 0;
}