Register
It is currently Mon Sep 01, 2014 3:02 pm

Basic Math Calculator


All times are UTC - 6 hours


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 PostPosted: Mon Apr 16, 2007 6:19 pm   

Joined: Mon Apr 16, 2007 6:09 pm
Posts: 1
Hi!...

I would like to create a basic math calculator with the four basic operations ( +, -, *, /), the percentage and the square rout. Finally the calculator has to recognize the these ( )'s!!!...

Thank you Very Much!...


Top
 Profile  
 PostPosted: Fri Apr 20, 2007 8:32 pm   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 666
Location: Des Moines, Iowa
Look into

bc

Quote:
NAME
bc - arbitrary-precision arithmetic language

SYNOPSIS
bc [-l] [file ...]

DESCRIPTION
The bc utility shall implement an arbitrary precision calculator.
It shall take input from any files given, then read from the stan-
dard input. If the standard input and standard output to bc are
attached to a terminal, the invocation of bc shall be considered to
be interactive, causing behavioral constraints described in the
following sections.



Top
 Profile WWW  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP