Question #39257

For this project, WebSoft Solutions Pvt. Ltd. conducts a recruitment drive to hire 10 software

developers to work on various modules of the application. It conducts a written examination and

asks the aspiring candidates to create a console-based calculator application. The calculator

should be able to solve basic mathematical calculations.

The calculator should store the result of an expression in a variable called "ans", which can be

used as an input in other mathematical expressions, as shown in the following statements:

>calculate 25*(3+5-(10/2))

ans=75

>calculate ans+10

ans=85

>calculate ans*10/5

However, the candidate can declare any variable to store the result. Being an aspiring candidate,

develop the console-based calculator using C#.

developers to work on various modules of the application. It conducts a written examination and

asks the aspiring candidates to create a console-based calculator application. The calculator

should be able to solve basic mathematical calculations.

The calculator should store the result of an expression in a variable called "ans", which can be

used as an input in other mathematical expressions, as shown in the following statements:

>calculate 25*(3+5-(10/2))

ans=75

>calculate ans+10

ans=85

>calculate ans*10/5

However, the candidate can declare any variable to store the result. Being an aspiring candidate,

develop the console-based calculator using C#.

Expert's answer

## Comments

## Leave a comment