Calculate the average mark with two decimal symbols.
Generates school grades until the generated tag is equal to 10,
but there must be at least 6 marks.
Output marks at 8 in one row and the calculated average mark.
Generated numbers can be replaced by entering numbers,
but there must be a check whether the number entered is within the specified interval.
Please note that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.
We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.
What part are you having difficulty with? Do you know how to calculate an average in mathematics? How would you do this using pen/paper? What instructions would you give to someone else to complete this who didn't know what had to be done? Then turn these instructions into a program design and then code the program from the design.
If once you have the design, you are having problems with the code, then post your code and explain your problem.