Assignment Chef icon Assignment Chef

[SOLVED] Cs150 – –

5.0 1 customer review Digital download

Digital download

$25.00

Availability
In stock
Checkout
One item

Need a hand?

Message us on WhatsApp for payment or download support.

WhatsApp QR code

– 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.