What is my mistake?

Hello, good afternoon!
Excuse me, what is my mistake?
I'm traying create a script to get a mean of five grades. I used function() and I ask the user to enter his 5 grades, but I can´t get the mean. I have the next message:
image

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

Thank you so much for your help. I really didn´t understand your advices or recommendations because I just started using the software, but I was able to correct my mistake. However, thanks again!

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.