{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Math_Practice_Program - • Additive sums should be<=100...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CSC 113 Midterm Project: Math Practice Program Assigned: October 15, 2010 Due: October 29, 2010 Objective: To test your knowledge of loops, strings, conditional statements, logic, graphing, and screen outputs. Prompt: Your 10 year old cousin is struggling in math class, and you decide to use your newfound MATLAB skills to help the poor kid out by giving him some practice. Write a program that randomly generates 10 basic math problems featuring addition, subtraction, multiplication, and division. The program should display the question visually and prompt for an answer. When finished, a total number of correct answers should be displayed, as well as a bar graph indicating how many of each question type was featured and how many of each question type was answered correctly. Criteria: Questions and answers should all be positive integers
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: • Additive sums should be <=100 • The number you’re subtracting from should be <= 100 • Multipliers should go up to 12x12 • Dividend should be <=100 • Bonus points may be awarded for creativity and ingenuity Submission: Projects will be graded in class on Friday, October 29. You must be present to receive a grade, and you should be prepared to explain how sections of your code work. Late projects will not be accepted . Hints: Become familiar with fprintf . Consider using switch/case statements. You can plot a bar graph using the bar function. Help: Steven Hair [email protected] Nathan Doane [email protected] Office Hours: Mondays 10:00-11:00am Thursdays 3:00-5:00pm Website: http://faculty.cua.edu/regalia/csc113...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern