My code is working well and uses a lot of mechanics in C++, however, I want to know if there are any ways to make my code better, some possible problems in use. this is a simple program and I started yesterday. What other mechanics could I implement to make the code better? And where can I find more information about those mechanics?// IQ rand generator by ashar rahman#include stdafx.h         //includes rand and other related commands#include <stdlib.h>         //something windows wants#include <iostream>         //allows for c++ IO interaction#include <time.h>           //allows for srand time manipulation#include <cstdlib>          //standard c++ libraryuusing namespace std;        //tells compiler to use std for all namespaces ex. std::cout --> coutclass IQClass{              //class containing all IQ generating, name and multiplyer selection related functions.public:    int y;                  //random IQ storage integer     long int a;             //answer after  multiplyer storage integer, long for larger numerical answers    int m;                  //multiplyer container    char name[80];          //char array container for user name supporting upto 80 bytes    void nameInput() {      //function including input prompt for user name        cout << What is your name?\n\n;       //prints 'What is your name?' with cout \n are line returns            cin >> name;                        //allows user to input name with cin    };    void multiplierSelection() {        //function contains input prompt for multiplier        cout << \nWhat should the multiplier be?\n\n ;                //prints            cin >> m;                                                       //asks for input to fill m variable    }    void calc() {   //function contains equasion to find answer of y*m        a = y*m;                                        //equasion    }    void print() {                      //function contains printing of answer, random IQ, multiplyer, and name, endl is another line return type        cout << name << 's IQ is probably:  << y << endl << That times:  << m <<  is  << a << endl;       }    void randGen() {            //creates random sequence        y = rand() % 160;           //out of 160 finds random value    };private:};    IQClass IC;                 //changes identifer for IQCLass ex.          IQClass.nameInput(); ---> IC.nameInputint main(){     srand(time(NULL));             //generates random seed once for rand to use    IC.nameInput();                                         //allows user to input name    IC.multiplierSelection();                               //allows user to select multiplier        for (int x = 0; x < 100;) {             //prints 100 random IQs for user and the answers relative to the multiplier            IC.randGen();                               //generates random sequence            IC.calc();                      //calculates product            IC.print();                     //prints answer(s)         x = x + 1 ;                     };    return 0;           //ends program with return code of 0 }As you can see I have annotated everything for maximum explanation and so I can review/remember it if I forget.  Are any of the comments wrong and if so, how can they be improved? 
Program that generates random IQ numbers and multiplies them by a user-entered multiplier
c++;performance;beginner