Write a C++ program to generate a star-based histogram for a quiz (maximum score possible is 5) given to a class of N students, where N is an input from the user. Use arrays for computation. Exampleinput/output is shown below.Input:103 0 1 1 1 2 3 0 4 5Output:
Score 0: **
Score 1: ***
Score 2: *
Score 3: **
Score 4: *
Score 5: *