1) Write a program to make commandline calculator ?

    Format like that : excutablefile  firstoperand opertator secondoperand 
                  Ex : ./a.out              1       +               3 

                            result : 5 

Recommended Answers

All 6 Replies

Member Avatar for I_m_rude

what exactly you want to do ?

how to solve

Start by trying something on your own or asking a specific question. We're not here as a free homework writing service.

What numeric system do you know where 1 + 3 = 5?

What numeric system do you know where 1 + 3 = 5?

It's obvious -- for large values of 1 & 3 and small values of 5! ;o)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.