Online Visitor Counter

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Friday, April 18, 2014

Simple Calculator


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int mixture;
int ethane=5, methane=8, propane=2;
mixture=(ethane+methane+propane);
cout<<”There are”<<ethane<<”dm cube of ethane <<endl”;
cout<<”There are”<<methane<<”dm cube of methane <<endl”;
cout<<”There are”<<propane<<”dm cube of propane <<endl”;
cout<<”There are”<<mixture<<”dm cube cubes of mixture <<endl”;
cout<<”By Muzafar Hussain Sahto”;
getch();
}

No comments:

Post a Comment

 
  • Blogroll

  • Consectetuer

  • Popular

  • Comments