Okay, i want to start off by saying this is for a class of mine but i have messed up and waited to the last minute to finish it and really got myself into a mess. I have taken C++ before but never had to use structs. My program worked fine until i tried to move all the input into a seperate void funtion and now the output isnt correct. If anyone can tell me where i have an error in passing the information into the struct i would greatly appreciate it!
So here is the code:
#include <string>
#include <iostream>
using namespace std;