CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Basic calculator

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Pyronix
Guest







Basic calculator
PostPosted: Tue Jun 23, 2009 4:59 am     Reply with quote

hi.

I need to add some basic calculations in my code.
Data is entered per keypad and it's displayed on LCD.

It should look something like ultra basic calculator:
1 + 2 = 3 --- display and save data
120,30 * 10% = 120+12,03= 132,03 display and save data.

Your suggestions on solving this ?
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Jun 23, 2009 11:22 am     Reply with quote

Any beginners programming book should have a section on flowcharting or planning how to write a program. Get thee to a library!
_________________
The search for better is endless. Instead simply find very good and get the job done.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jun 23, 2009 11:33 am     Reply with quote

See these previous threads on this topic:
http://www.ccsinfo.com/forum/viewtopic.php?t=38399
http://www.ccsinfo.com/forum/viewtopic.php?t=38900
http://www.ccsinfo.com/forum/viewtopic.php?t=36304&start=2
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group