{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

03240509_3624 - (area = PI r r 1(circumference = 2 PI r PI...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 ) ةرئاد ةحاسم ةعابطو باسحل جمانرب بتكا area = PI * r * r ( ) اهطيحمو circumference = 2 * PI * r .( ) اهرطق فصن نأ تملع اذإ r ( يواسي 5.2 نأو PI = 3.1415926 #include <iostream.h> main() { float r, PI; r = 5.2; PI = 3.1415926; cout<<"area = "<< PI * r * r<<"\n"; cout<<"circumference = "<< 2 * PI * r; } 2 ) لوط لاخدل جمانرب بتكا length ) ( ضرعو width . ( ليطتسم ) ليطتسملا ةفاح عبطيو بسحيو perimeter = 2*(length+width ) ( ( هتحاسمو area=length*width ( #include <iostream.h> main() { int length, width; cout<<"length = "; cin>>length; cout<<"width = "; cin>>width; cout<<"perimeter = "<<2*(length+width)<<"\n"; cout<<"area = "<<length*width; } 3 ) داوم عبرأ تاجرد ةءارقل جمانرب بتكا m1, m2, m3, m4 ( ) لدعملا عبطيو بسحي مث avg = (m1+m2+m3+m4)/4 ( #include <iostream.h> main() { int m1, m2, m3, m4; cout<<"Enter marks \n"; cin>>m1>>m2>>m3>>m4; cout<<"avg = "<< (m1+m2+m3+m4)/4; } 4 رطسلا يف كمسا ةعابطل جمانرب بتكا لولا ةهجلا نم ىرسيلا يف كناونعو ، طسو رطسلا ثلاثلا ىنميلا ةهجلا يف ةيسنجلاو ، #include <iostream.h> main() { cout<<"Abdulla Awad \n\n\t\t\t"; cout<<"BaitBoss zone \t\t\t Yemeni"; 1
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
} 2
Image of page 2
5 جمانرب بتكا )) تياهنارهفلاب ةرارحلا ةجرد أرقي f ) ةيوئملاب اهبسحي مث ، c= (f-32)*5/9 ( اهعبطيو #include <iostream.h> main() { float f; cout<<"f = "; cin>>f; cout<<"c = "<< (f-32)*5.0/9.0; } 6 ) ةيوئملاب ةرارحلا ةجرد أرقي جمانرب بتكا c ) ( تياهنارهفلاب اهبسحي مث ، f= c*9/5+32 ( ( اهعبطيو #include <iostream.h> main() { float c; cout<<"c = "; cin>>c; cout<<"f = "<< c*9.0/5.0+32; } 7 داجيل جمانرب بتكا w y z x a 7 . 2 5 + + = و w z y x b + + = 2 ) 3 . 2 ( 5 . 4 #include <iostream.h> #include <math.h> main() { float w,x,y,z; cout<<"Enter w,x,y,z\n"; cin>>w>>x>>y>>z; cout<<"a = \n"<< ((5+x)/z) + (y/2.7*w); cout<<"b = "<< (4.5*pow(x+2.3*y,2)) / (z+w); } 8 ) ةتباثلا ةلجعلا أرقي جمانرب بتكا a ) ( نمزلاو t ) (
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern