Answer:
#include <iostream>
using namespace std;
double larger( double x, double y){
if (x > y){
return x;
} else{
return y;
}
}
int main(){
int n, max = 0;
for (int i =0; i < 15; i++){
cout<< "Enter item"<< i+1 << ": ";
cin>> n;
cout<< "\n";
max = larger( n, max);
}
cout<<"The maximum number is: "<< max;
return 0;
}
Explanation:
The C++ program defines the function 'larger' that compares and returns the largest of two numbers. The main program prompts the user for 15 numbers and the larger function is called to return the largest of the fifteen numbers given.
Explanation:
The ratio of length, breadth and height of a room is 4:3:1
Let length = 4x
Breadth = 3x
Height = x
Volume of air contained in the room, V = 12 m³
We need to find the length, breadth and height of the room. The room is in the shape of a cubiod. The volume of a cuboid is given by :
V = lbh

Height of the room = 1 m
Breadth of the room = 3x = 3 m
Length of the room = 4x = 4 m
<span>B: can be caused by volcanic eruptions</span>
<span>Create new ad groups with related keywords grouped together</span>