Answer:
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
int main() {
string name[5];
int age[5];
int i,j;
for ( i = 0; i<=4; i++ ) {
cout << "Please enter student's name:";
cin >> name[i];
cout << "Please enter student's age:";
cin >> age[i];
}
for (i=0;i<=4;i++){
cout<<"Age of "<< name[i]<<" is "<<age[i]<<endl;
}
}
Output of above program is displayed in figure attached.
Answer:
b) false
Explanation:
We know that Otto cycle is the ideal cycle for all petrol working engine.In Otto cycle all process are consider is ideal ,means there is no any ir-reversibility in the processes.
It consist four processes
1-2:Reversible adiabatic compression
2-3:Constant volume heat addition
3-4:Reversible adiabatic expansion
3-4:Constant volume heat rejection
Along with above 4 processes intake and exhaust processes are parallel to each other.From the P-v diagram we can see that all processes.
But actually in general we are not showing intake and exhaust line then it did not mean that in Otto cycle did not have intake and exhaust processes.
A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide better modularity for your application and a high degree of code reusing. ... Different programming languages name them differently, for example, functions, methods, sub-routines, procedures, etc.
Answer: its an Ignition coil