a guest Dec 7th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #include "Node.h"
- Node::Node(string first, double grade)
- firstName = first;
- finalGrade = grade;
- nextS = NULL;
- void Node::setNext(Node* node)
- nextS = node;
- Node* Node::getNext()
- return nextS;
- void Node::print()
- cout << "First Name: " << firstName << endl;
- cout << "Grade: " << finalGrade << endl;
- cout << "Student ID: " << ID << endl;
RAW Paste Data