Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in c, write a code that follow this credit scheme. good (rating 3): score >= 740 average (rating 2): 670-739 poor (rating 1): 300 to

in c, write a code that follow this credit scheme. good (rating 3): score >= 740
average (rating 2): 670-739
poor (rating 1): 300 to 580
nite that scores between 581 to 669 are nit valid and score less than 300 is nit valid.
write a function getCreditRating():
in this function keep taking user input until its invalid. then print the count if each categort of credit score
image text in transcribed
Sample Input/output1: 400 500 740 850 600 //this is an invalid input. So, stop taking further input Good count: 2 Average count: 0 Poor count: 2

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

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions

Question

What is dividend payout ratio ?

Answered: 1 week ago

Question

Explain the factors affecting dividend policy in detail.

Answered: 1 week ago