Back to Browse

OOPL Group A: Assignment No.5 Basic Calculator

2.1K views
Jul 14, 2018
16:50

This video demonstrates the OOPL Group A: Assignment No. 5 with simple steps. This lab assignment is the part of OOPL subject of SE(Computer Engg.) under Savitribai Phule Pune University affiliated colleges. Following is the problem statement according to the syllabus of SPPU. Problem Statement: Write a C++ program create a calculator for an arithmetic operator (+, -, *, /). The program should take two operands from user and performs the operation on those two operands depending upon the operator entered by user. Use a switch statement to select the operation. Finally, display the result. Some sample interaction with the program might look like this: Enter a first number, operator, second number: 10 / 3 Answer = 3.333333 Do another (y/n)? y Enter a first number, operator, second number: 12 + 100 Answer = 112 Do another (y/n)? n If you have any doubt, a query regarding this video, please post it into the comment section. Don't forget to subscribe to my channel. Also, share this channel with your friends.

Download

0 formats

No download links available.

OOPL Group A: Assignment No.5 Basic Calculator | NatokHD