Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The program CA combines the marks for two assessments assign 1 and assign 2 mark into a single grade. The marks value for both assignments

The program CA combines the marks for two assessments assign1
and assign2 mark into a single grade. The marks value for both
assignments is an integer. If the marks for either assignment is less
than 50% then the grade returned is a Fail. To pass the CA with a
Pass, C, the student must score between 50% and 60%(inclusive) in
assign1 or assign2. They will pass the course with at least a Pass,
B, if they score greater than 60% in both assign1 and assign2. In
addition to this, if the average of assign1 and assign2 is 80% or more,
then they are awarded a Pass, A. An input values that is less than 0
or greater than 100 for either assignment is invalid, and the program
will return a message: Marks out of range.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions

Question

What does stickiest refer to in regard to social media

Answered: 1 week ago