final_mark = mark_for_first_thing * weight_of_first_thing / 100 + mark_for_second_thing * weight_of_second_thing / 100;
Percentage to Letter Grade
1 次查看(过去 30 天)
显示 更早的评论
I must create a function that outputs a letter grade based on the combined percentage a student scored on an multiple choice quiz and an essay. The multiple choice part of the quiz is worth 60% of the total grade and the essay is worth 40% of the total grade. How do I write code that incorporates the quiz being 60% worth of the total grade, and the essay being 40% of the total grade? Any help would be appreciated, thank you!
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!