Hi everyone I am new to computer programming, and I need help with creating a code that will create random addition or subtraction from 0-500 depending on their grade level. I know how to create a random for the math and subtraction. I just dont know how to get it to change depending on their grade level. Example I need it to ask their name, grade level, addition or subtraction then five addition or subtraction questions depending on what they chose.

Please help me out.

If you need more detailed information just let me know, and I can break the whole thing down and show you what I have so far.