1. Modify the conversion2loop.as program to allow the user to enter up to 10 gra

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 = 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$

Posted in Uncategorized

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount