• anonymous
Plss help. Construct a program in C++ to calculate the value when you perform the following operations using functions and keyboard input. Addition Subtraction Multiplication Integer division Real division
Computer Science
  • chestercat
I got my questions answered at in under 10 minutes. Go to now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly


Get your free account and access expert answers to this
and thousands of other questions

  • anonymous
So, your main function should probably present a menu and ask for input on which of the operations to perform (1-5 for Addition through Real division). From there, based on the input you can call functions that actually perform the operations. So, write an Addition() function, that then asks for input of two float values to add, then adds them, and prints the result. If the menu input in main, was "1", call the Add function. Similarly, write functions for the other operations, and call them based on the input from the menu. Hope that helped - trying to give you an idea without giving it all away ;)
  • anonymous
Thanx a lot.

Looking for something else?

Not the answer you are looking for? Search for more explanations.