Please help me master code the process.

Users questions: Assume30studentsareinaclass.Generaterandomnumbersrangingfrom50to100tobethescoreofeachstudent.Usingthecalculationsinthelastproblem,findthefrequencyofeachlettergrade,thatis,thenumberofstudentsineachlettergrade.Printthenumberofstudentsgettingan "A", a "B", a "C, a" D "from now on" F "separately.
Experts answer: # include stdlib.h : intStudentLV [5] = (0); for (INTI = 0; in 50, i + +) (intnRand = rand ()% 5; StudentLV [nRand ]++;} chardentLV [0], StudentLV [1], StudentLV [2], StudentLV [3], StudentLV [4]); CStringstr = szTemp; MessageBox (str, "result );
  • This information provided by the users.Thanks!