i need an the coding for following output..
using
#include <stdio.h>
#include <conio.h>
**************************************************
enter a number=
enter second number=
enter an option:
[1] multiply
[2] addition
[3]substraction
[4] divide
the result is=
press an option to:
[1] continue
[2] exit
**************************************************
help on basic calculator?pls?
Started by exypnos, Nov 03 2007 02:53 AM
3 replies to this topic
#1
Posted 03 November 2007 - 02:53 AM
|
|
|
#2
Posted 03 November 2007 - 04:27 AM
It seems like you've no experience with C nor C++. I will suggest you to pick up a tutorial, and read about all the basics of C and C++ programming. To do what you want to, you shall minimum read about: input/output (I/O), if-statements or switch-statements and operators.
#3
Posted 04 November 2007 - 04:49 AM
use switch operator
#4
Posted 07 November 2007 - 05:32 PM
Was that supposed to be code syntax? I used to do C++ a little, and even for the simplest operation there has to be a lot of code.


Sign In
Create Account

Back to top









