> Creating Programs Finding Area and Volume in DEV C + + | krehstorrs
NEW POST | Welcome to Krehstorrs Blog
Home » , » Creating Programs Finding Area and Volume in DEV C + +

Creating Programs Finding Area and Volume in DEV C + +

Creating Programs Finding Area and Volume in DEV C++ 
Program Finding area and volume is indeed very simple. When you learn to make it just by trying the tutorial below. For more details, see below scrptnya. Hopefully useful.

Screenshot of the results you can see below:

Creating Programs Finding Area and Volume in DEV C + +
Creating Programs Finding Area and Volume in DEV C + +

To the program you can copy the following:


#include<iostream.h>//description of the calling cout and cin
#include<conio.h>//description of the calling getch

int main(){
    system("color a");//to change the text color
    system("title Program Calculating Area and Volume of Cube");
    float r,area_cube,volume_cube;//description of the data type
    cout<<"Calculating Area and Volume of Cube"<<endl<<endl;
    cout<<"long ribs = ";
    cin>>r;
    //processing input
    area_cube=6*r*r;
    volume_cube=r*r*r;
    //cout
    cout<<endl<<"The surface area of cube = "<<area_cube<<endl<<endl;
    cout<<"Volume of cube = "<<volume_cube<<endl<<endl;
    cout<<"Calculating End";
    getch();
}

To download the script, click on this link
You have just read an article that category C Plus Plus / Programing by title Creating Programs Finding Area and Volume in DEV C + +. You can bookmark this page with the URL http://krehstorrs.blogspot.com/2013/03/creating-programs-finding-area-and.html Thank you!
Share this article :

2 comments:

  1. Nowadays most of students not have the proper basic skills in C and C++ programming skills.That is very distressing.
    Web Design Company | Web Designing Companies

    ReplyDelete
  2. I just keep visiting this blog from past two years. The posts here are unique and useful than other blog posts. Such a great info provided in this post. Keep providing useful post in this blog .I appreciate author for this valuable post.
    Culinary Schools in Dubai | Dubai Cooking Schools | Sugar craft courses | ICCA

    ReplyDelete

 
Support : Home | Sitemap | Privacy | Link List
Copyright © 2013. krehstorrs - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger