Maybe like 3-5 I think im right
Answer:
d) either e1 or e5
Explanation:
Here, the instruction i1 goes ahead in trying to open the given file through an input stream buffer reader. If the given file name is wrong, it will indicate that an e1 file is not found or if any other IO errors due to invalid stream, no disc in drive e5 IO exception will be drawn.
Answer:
The program is as follows:
#include <iostream>
#include <iomanip>
using namespace std;
int main(){
int num1, num2, num3;
cin>>num1>>num2>>num3;
cout << fixed << setprecision(2);
cout<<(num1 + num2 + num3)/3<<" ";
cout<<num1 * num2 * num3<<" ";
return 0;
}
Explanation:
This declares three integer variables
int num1, num2, num3;
This gets input for the three integers
cin>>num1>>num2>>num3;
This is used to set the precision to 2
cout << fixed << setprecision(2);
This prints the average
cout<<(num1 + num2 + num3)/3<<" ";
This prints the product
cout<<num1 * num2 * num3<<" ";