// structs
#include <iostream>
#include <string>
using namespace std;

struct Student
{
	string ssn;
	float grade;
};

void print(Student s);

/* Can't define Student here isntead of above (because it's needed in 
the above function prototype) unless you declare it above 
as follows:
struct Student;
If you do that, you can define it anywhere you want.
*/
int main()
{
	Student s;
	s.ssn = "111-22-3333";
	s.grade = 90;
	
	print(s);

	return 0;
}

void print(Student s)
{
	cout << "SNN: " << s.ssn << endl;
	cout << "Grade: " << s.grade << endl;
}
