HeLp my prog is not working well

hi , i had a problem with one of my programs im pretty sure everything is correct but when i run it it only asks me to input the last name but it would just print out the rest and not ask for any other input why is that? can someone help me what am i doing wrong.

the program is suposed to ask for the last name first name and 3 test scores for that person. then output the average of the test scores

you do have "enter last name" twice, that's why it's not asking for first name.

are you expecting an actual name from user input on first and last name? those are both ints and your program is going to crash when you try to get a string input into an int... you might want to fix that or do some sort of error checking

you also need to chain your cin. you can't just cin >> n1, n2, n3. Every time you call ">>" you are in effect calling a function that only has 2 parameters. cin >> n1 >> n2 >> n3 will fix that problem.