OOPS Level 1 All Sections PDF

Title OOPS Level 1 All Sections
Author Hashir Ahammed Kabir
Course Object Oriented Design And Programming
Institution SRM Institute of Science and Technology
Pages 128
File Size 6 MB
File Type PDF
Total Downloads 825
Total Views 945

Summary

INPUT OUTPUT:-#include <iostream> using namespace std; int main() { int r,s,cpool,spool; cin>>r>>s; cpool=3rr; spool=s*s; if(cpool>spool) cout<<"I Prefer Centre 1"; else cout<<"I Prefer Centre 2"; return 0; }#include <iostream> using namespace std; int main() {...


Description

INPUT OUTPUT:-

#include using namespace std; int main() { int r,s,cpool,spool; cin>>r>>s; cpool=3.14*r*r; spool=s*s; if(cpool>spool) coutaaronspeed; if(aravspeed>aaronspeed) speeddiff=aravspeed - aaronspeed; else speeddiff=aaronspeed - aravspeed; coutbro1>>bro2>>bro3; if(bro1>bro2) { if(bro1>bro3) cout...


Similar Free PDFs