How can i make user enter any numbers and can make all operation on them and provide him with() like: (9+3)/(-3*4)
i wanna a solution please

thanks

Get the input as a string then parse it. See Polish Notation

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.