C++

Objectives :

  •  myTypesInClass2.cpp
    very similar to myTypesInClass1.cpp
    In this example we used instances of the base class
    -----------------------------------------------
    for(int i= base.JAN; i< base.MAY; i++ )
    {
    cout<<"\n month "<<months[j] << " : " << i;
    j++;
    }
  • code myTypesInClass2.txt

Step: 1 Create a source file.

Step: 2 Edit and save Source file

Step: 3 Runtime Views:

Step: