Education platform of the middle School of the first normal University my Brush record (4)

Source: Internet
Author: User

Education platform at the middle School of the first Normal University my brush title record (Brush 16--20 questions for everyone)

For students only reference, prohibit copying!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 #include <iostream> #include  <math.h> using  namespace   Std;  int   Main () { double   A,b,c;    CIN  >>A; b  =2  *a*3.14159  ;    C  =a*a*3.14159   <<b<< "  <    <c<<ENDL;  return  0  ;}  
finding the circumference and area of a circle
#include <iostream>#include<math.h>usingnamespace  std; int Main () {    double  n,a,b;    CIN>>N;    A=n*n*6;    b=n*n*n;    cout<<a<<""<<b<<Endl;     return 0 ;}
the surface area and volume of the cube
#include <iostream>#include<math.h>using namespacestd;intMain () {Doubler,a,b; CIN>>R; A=4*3.14*r*R; b=(4.0/3)*3.14*r*r*R; cout<<a<<" "<<b<<Endl; return 0;}
calculating the surface area and volume of the ball
#include <iostream>#include<cmath>usingnamespace  std; int Main () {    float  s1,s2,h,v;    CIN>>s1>>s2>>H;    V= (s1+sqrt (s1*s2) +s2) *h/3;    cout<<v<<Endl;     return 0 ;}
find the volume of the Round table
#include <iostream>#include<math.h>usingnamespace  std; int Main () {    double  r,h,v;    CIN>>r>>H;    V= (1.0/3) *r*r*3.14*h;    cout<<v<<Endl;     return 0 ;}
to find the volume of a cone

Education platform of the middle School of the first normal University my Brush record (4)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.