Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
BenefitAmount::applyCola Method (double, int)

Applies cola percent to stored benefit.

C++
void applyCola(
    double percent, 
    int year
);
Parameters 
Description 
double percent 
Percentage increase. 
int year 
Year of increase. 

Uses the stored amount to call the static version with 3 arguments.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!