HW!!!! for C++ Class. Help PLEASE!!!!!!!!!!!!!!?

Declare an int constant, MonthsInYear , whose value is 12 .

1 Answer

  • two ways:

    const int MonthsInYear=12;

    or

    #define MonthsInYear 12

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts