Write function quality points() that inputs astudant s average and return 4 studant s average is 85 100 ,3 if the average is 75 85 2 if the average is 7565,1 if the average is 65 50,0 if the average is lower than 50, the program prints "excellent" if the return value =4 or "very good" if the returned value =3 "good" if the returned value =2 or "pass " if the returned value =1 otherwise print "fail"

Nobody here is going to do your homework for you. However, if you post what you have so far and show us where you are stuck you might get the help you are looking for.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.