In C++ Language please. #include <iostream> using namespace std; int main() { //
ID: 3876791 • Letter: I
Question
In C++ Language please.
#include <iostream>
using namespace std;
int main() {
// your code goes here
return 0;
}
Explanation / Answer
#include <iostream>
using namespace std;
int main() {
// your code goes here
int a = 5000000,b = 225000;
int c;
float d;
int s ;
c = a/b;
cout<<"there are "<<c<<" episodes aired each year";
d = a/365;
d = d/5;
cout<<" each actor makes "<<d<<"$ per day";
cout<<" who the father telling the story enter the correct number 1) Ted Mosby 2) john roadsay";
cin>>s;
switch(s)
{
case 1:cout<<" correct";
break;
case 2:cout<<" wrong";
break;
default: break;
}
return 0;
}