[SOLVED] CS150 Lab 2

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Lab-02-rzfbzj.zip (542.9 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (4 votes)

– Ask the user whether they are a CS major or not (have them type 1 for yes and 0 for no) – print the result to the screen as β€œCS Major: [result]” (note that this will display numerically – add cout << boolalpha; to the top of your code (inside main) to fix this).
– Ask the user to enter their favorite punctuation mark – print β€œYour favorite punctuation mark is: [result].”
– Ask the user to enter two numbers – store them as integers. Display the result of dividing the first by the second both as a decimal and as a value and remainder.
You should clearly communicate to the user what they need to enter for each input, and what you are displaying for each output.
All of your variables must be of appropriate data types.

  • Lab-02-rzfbzj.zip