clc A = xlsread('Joke.xlsx')
B = mean(A(1:42,1)) C = mean(A(1:16,2)) D = mean(A(1:3,3)) E = mean(A(1:1,4)) F = mean(A(1:1,5)) G = mean(A(1:1,6)) M = mean(A) Z = mean(M) prompt = 'What is your name?'; N = input(prompt,'s'); X = sprintf('%s your current grade in the class is %0.0f.',N,Z); disp(X)
I need to some how say E which is tests taken are 30 percent of the total grade, and D which is hw is 10, etc.. for the others
Best Answer