The output on this code is pretty nasty. Lines 16 and 31 --- I get an error saying that no operator matches these << operands. So I changed the like 16 to cin.get() and that seemed to work okay, but in line 31 when I want to call the string 'name' ... it doesn't work.
Because of what was stated before, you need to remove the semicolo, ';', from that line. Also, instead of using cin.get(), which isn't actually doing anything other than waiting for you to input something, you should use cin.getline(name, 80) which will accept all characters and spaces up to 80 characters. This could improve how your program works.