You need to Register First!

Before you Log-in...




 
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in
Sample design and thinking of Something new Graphical design.... To all member's of this website please Fill up the form of your Personal Information for Special Reference of our Forum thank you!
For non-member just post your comment in the chatbox. Thanks for Visiting our site.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» Adobe Photoshop CS6 portable
Mon Nov 28, 2016 7:06 pm by Kuteshikimi

» Adobe Photoshop CS3 portable
Mon Nov 28, 2016 7:04 pm by Kuteshikimi

» ADODC Datagrid
Fri Jul 06, 2012 8:22 am by Kuteshikimi

» Programming Language
Fri Jul 06, 2012 8:12 am by Kuteshikimi

» History of C++
Fri Jul 06, 2012 8:11 am by Kuteshikimi

» Part of a C++ Syntax
Fri Jul 06, 2012 8:09 am by Kuteshikimi

» TURBO C++ Operators
Fri Jul 06, 2012 8:08 am by Kuteshikimi

» Adding 3 Number
Fri Jul 06, 2012 8:05 am by Kuteshikimi

» C++ Sample System
Fri Jul 06, 2012 8:03 am by Kuteshikimi

ENGINEERING.COM GAMES
Top 100 Games
Game Site Top 100


Most active topic starters
Kuteshikimi
 
imbaBOY
 
Top posters
Kuteshikimi
 
imbaBOY
 
markeeh17
 
Top posting users this month
Top posting users this week
Visitor’s Unique Page-View
Visitor Counter
Visitor Counter
Visitor’s
free counters
Globe
Similar topics

Share | 
 

 Simple Calculator

View previous topic View next topic Go down 
AuthorMessage
Kuteshikimi
Admin
Admin
avatar

Posts : 41
Join date : 2011-09-01
Age : 27
Location : Cavite City, Philippines

PostSubject: Simple Calculator   Thu Sep 15, 2011 10:41 am

Code:

#include<iostream.h>
main()
{
int n1,n2,sum,diff,pro,quo;
cout<<"Enter First Number:";
cin>>n1;
cout<<"Enter Second Number:";
cin>>n2;

sum=n1+n2;
cout<<"The sum is:"<<sum;

diff=n1-n2;
cout<<"The Difference is:"<<diff;

pro=n1*n2;
cout<<"The Product is:"<<pro;

quo=n1/n2;
cout<<"The Quotient is:"<<qu[/c[/color]olor]o;

}
Back to top Go down
View user profile http://kuteshikimi.forumtl.com
 
Simple Calculator
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Forum Post Simple Image Upload Button
» The Blacksmith Bureau : Brain Teasers
» Pierre Bouvier
» (Phpbb2/CSS) Request : A simple caption effect in CSS
» Simple header request!

Permissions in this forum:You cannot reply to topics in this forum
 :: FORUM :: Datacom Institute of Computer Technology :: C++-
Jump to: