How to create a linked list of size 6 that keeps
following id values: "01", "02", "03", "04","05","06"
following age values: 30, 41, 50, 35, 55, 22
following marks values: 55.50, 80.0, 90.90, 30.30,70.0,69.9
#include <iostream>
using namespace std;
class ListNode {
public:
string id;
int age;
float marks;
ListNode *next;
};
int main()
{
ListNode *node1 = new ListNode;
node1->id = "01";
node1->age = 30;
node1->marks=55.50;