| | |
Simple Calculator
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
C Syntax (Toggle Plain Text)
char *ones[ ] = { "zero", "one", "two", "three" }; char *tens[ ] = { "none", "ten", "twenty" }; int n = 23; printf( "%s %s", ones[n%10], tens[n/10] );
•
•
Join Date: Jul 2008
Posts: 14
Reputation:
Solved Threads: 3
Yes, but first you are going to have to learn how to read. You could practice with this. Then learn how to converse with other people coherently. Hopefully the reading material should help you with that too.
![]() |
Similar Threads
- Help with scientific calculator (Visual Basic 4 / 5 / 6)
- What is wrong? Trying to make a simple calculator in Tkinter. (Python)
- calculator with password (C++)
- Java Simple calc (Java)
- Calculator project (C++)
- calculator (Java)
- calculator program (Java)
- need help for c++ calculator (C++)
- having problems to complete implement a simple calculator program in c (C)
- simple calculator help (Java)
Other Threads in the C Forum
- Previous Thread: please help me with pointer to structures
- Next Thread: greatest of three nos
| Thread Tools | Search this Thread |
* adobe api array arrays bash binarysearch calculate centimeter char cm convert copyanyfile copypdffile createcopyoffile createprocess() csyntax directory dynamic fflush file floatingpointvalidation fork forloop frequency getlasterror getlogicaldrivestrin givemetehcodez global graphics gtkgcurlcompiling gtkwinlinux hardware highest homework i/o ide inches initialization intmain() iso km linked linkedlist linux linuxsegmentationfault list logical_drives loopinsideloop. match matrix microsoft motherboard mqqueue multi mysql oddnumber odf open opendocumentformat opensource openwebfoundation pattern pdf performance pointer pointers posix power program programming pyramidusingturboccodes read recursion recv recvblocked repetition scanf scheduling segmentationfault send shape single socketprogramming stack standard strchr string strings suggestions test testautomation unix urboc user variable voidmain() whythiscodecausesegmentationfault win32api windows.h






