Grading Rubric For this assignment, points are assigned as follows: 40 points: Your code uses appropriate coding
Question:
Grading Rubric For this assignment, points are assigned as follows: 40 points: Your code uses appropriate coding style such as including appropriate comments, inventing the main function body, and appropriate variable declarations 60 points: Your code compiles and output matches the desired test cutouts shown below. Each test case has a different number of points assigned to it, as shown in submit mode this section will be auto-graded While we will assign the other 40 points after inspecting your program 5. Example Program Run Below is a complete program run with inputs that cause several possible error messages, as well as generate final outputs: Enter geed for random number generator 1 ERROR: Send Value should be > 0 Enter geed for cancion number generator: X ERROR: Incorrectly formatted input Enter seed for random number generator: 3 Seed: 3 Enter range endpoints: Max Min ERROR: Incorrectly formuled input Enter range andpoints: -1 2 ERROR: Max value should be at least 4 more than min value ERROR: Min value should be positive Enter range endpoints: -5 -10 ERROR: Max value should be at least 4 more than in value ERROR: Max value should be positive ERROR: Min value should be positiva ! Enter range andpoints: Sis Range
too low Enter guess #2: 15 15 is too high! Rnter Gers 33: 10 10 is too high! No more guesses--the Correct answer was 9 Current win 0 Current lossAR: 1 ROTINT) 2 Entor guess #1: 10 10 is too high! Enter guese +21 7 Correct uses! Current wins: 1 Current 1088es: 1 ROUND 3 Enter gas #1: 11 11 is too low! Enter 42: 13 13 is too low! Enter guess #3: 14 14 is too low! No more the COTTAGT. ANAWAY MAA 15 Curront wins: 1 Current losses: 2 FINAL STATS Wins: 1 1 TOAAAA: 2 Winning percentage: 33.33% LAN ACTIVITY 4.22 1: Program 4: Guessing Game 0/60 1 / 2 * REPLACE THIS COMMENT WITH YOUR OWN HEADER COMMENT 3 / 4 5 #define _CRT_SECURE_NO_WARNINGS // Necessary on Visual Studio, not zyBooks 6 #include 7 8 #include // Necessary for rand(), srand() functions 9 10 int main() { 11 int seed = 1; // RNG seed (you can remove the initial value once you get your first input Loop working) 12 13 /*** DECLARE OTHER VARIABLES HERE ***/ 14 15 // Input Loops 16 // Read RNG seed until error-free 17 18 // Read range endpoints until error-free 19 20 // Read number of