Help!! Don't get what is happening

Write your question here.
So my professor asked to document the project and this is what comes out

C:/Users/rnguyen155/Desktop/IC04B/A/futval.h:28: Warning: reached end of file while inside a code block!
The command that should end the block seems to be missing!

And then this is what is in the code for futval.h

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef FUTVAL_H
#define FUTVAL_H

#include <string>

/**
    Computes the future value of an investment
    
    @file futval.h
    @param ammount the initial amount of the investment
    @param termRate the interest rate for one term
        Note: use a decimal number, like 3.2 to mean 3.2%
    @param numPeriods the number of periods (not years)
    
    @return returns the value of the investment at maturity
    
    Here's how to use the function to calculate the value of $10,000
    held for 5 years, compounded quarterly at 7.2% interest.
    
    @code
    double fv = futureValue(10000, 7.2 / 4, 5 * 4);
*/

double futureValue(double bal, double termRate, int numPeriods);

#endif
What compiler are you using? My compiler gives no error for that file and creates the object file with no complaints.
Topic archived. No new replies allowed.