Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please complete in C++ Problem C: Big (bad) integer calculator v2.0 (5 points extra credit) In part B you made a calculator that detected the

Please complete in C++

image text in transcribed

Problem C: Big (bad) integer calculator v2.0 (5 points extra credit) In part B you made a calculator that detected the pattern: [integer] [operator] [integer] [operator] ... [integer] [# symbol]. A case we do not expect you to handle for part B is if someone just entered a single '#'. For this extra credit problem, handle this input, along with all the other normal computation. If the user enters just '#', display "Error". Hint: you might have to look up how to convert between different types. Example 1 (user input underlined): Enter a formula: Error Example 2 (user input underlined): Enter a formula: 2+3*2/5000+9-4# Example 3 (user input underlined): Enter a formula: 42# 42 Problem C: Big (bad) integer calculator v2.0 (5 points extra credit) In part B you made a calculator that detected the pattern: [integer] [operator] [integer] [operator] ... [integer] [# symbol]. A case we do not expect you to handle for part B is if someone just entered a single '#'. For this extra credit problem, handle this input, along with all the other normal computation. If the user enters just '#', display "Error". Hint: you might have to look up how to convert between different types. Example 1 (user input underlined): Enter a formula: Error Example 2 (user input underlined): Enter a formula: 2+3*2/5000+9-4# Example 3 (user input underlined): Enter a formula: 42# 42

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions