Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c++ For thus to you on no less, no more. Line and Center P Question: Write a C++ program for the given pseudocode. make sure
c++
For thus to you on no less, no more. Line and Center P Question: Write a C++ program for the given pseudocode. make sure to fulfill the following points: Calibri (Body) 12 AA 3 A New 1. Declare a variables of type in BIUS-A-Styles Comment Paragraph Spacing 2. Declare a variables of type in 3. Declare a variable of type insger called penalty score and set it to 20. 4. Declare four unassigned Integers: quaffle, snitch, penalty and house points awarded 5. Declare a variables of type int called total score. 6. Prompt the user through the console for integer values quaffle, snitch and penalty. 7. Calculate and store the total score in total score, adding for each quaffle scored or snitch caught, and subtracting for each penalty. 8. Record in house points awarded the result of total score divided by 40) 9. Output in the console the following message: After a rousing game of Quidditch, team Gryffindor managed to send Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started