please answer the questions
please mod and stars or any computer master plz
Attachments:
Answers
Answered by
5
Corrected codes -
a)
#include <iostream>
using namespace std;
int main(){
int x=50,y=0;
if(x>=45 && x<=55)
y=x;
cout<<y;
return 0;
}
Output: 50
b)
#include <iostream>
using namespace std;
int main(){
int Comp=77;
int S_Science=90;
cout<<Comp;
cout<<S_Science;
return 0;
}
Output: 7790
c)
#include <iostream>
using namespace std;
int main(){
int e=144;
int f=100;
int g=30;
int h=e*f/g;
cout<<h;
return 0;
}
Output: 480
d)
#include <iostream>
using namespace std;
int main(){
cout<<"CPP Programming";
return 0;
}
Output: CPP Programming
Similar questions