Chat with us, powered by LiveChat Modify the conversion2loop.as program to allow the user - Essayabode

Modify the conversion2loop.as program to allow the user

 

1. Modify the conversion2loop.as program to allow the user to enter up to 10 grades for Assignment, up to 10 grades for Discussion, up to 10 grades for Attendance, and 2 grades for Tests. 

2. Calculate the average grade for each group in question 1. 

3. Calculate the total average grade for the course in letter grade and numerical grade assuming that Assignment is 30%, Discussion 30%, Attendance 15%, Tests 25%.

Submit the ".bas" program and the screenshots of the program and the outputs.

HERE IS THE CODE BELOW

'Convert grades to letter

average = 0

count = 0

do

input "enter grade: "; grade

select case

case grade >= 90

result$ = "A"

case grade>=80

result$ = "B"

case grade >= 70

result$ = "C"

case grade >= 60

result$ = "D"

case grade <60

result$ = "F"

end select

print result$

 confirm "Again"; answer$

 if answer$ = "yes"  then

 count = count +1

 total = (total + grade)

 average = total/count

end if

 loop while answer$ = "yes"

count = count +1

  total = (total + grade)

 average = total/count

 print count; " grades entered."

 print "Average is: ";average

grade = average

select case

case grade >= 90

result$ = "A"

case grade>=80

result$ = "B"

case grade >= 70

result$ = "C"

case grade >= 60

result$ = "D"

case grade <60

result$ = "F"

end select

print result$

    Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

    Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

    Do you need an answer to this or any other questions?