Skip to content

Commit 07d4f8a

Browse files
added getwaiver function documentation
1 parent eecd3ed commit 07d4f8a

File tree

1 file changed

+15
-0
lines changed
  • NUB_Admission_Costing_Calculator/docs

1 file changed

+15
-0
lines changed

NUB_Admission_Costing_Calculator/docs/test.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
You should know:
44
- D_ prefix is used for Diploma Holder functions.
55

6+
void getwaiver(float SSC, float HSC)
7+
- Determines the waiver percentage based on the lower of two results between SSC and HSC.
8+
- Result higher than than 5.0 is kept for GOLDEN GPA 5.
9+
10+
NOTE: The function calculates waivers based on academic performance,
11+
incentivizing higher scores with greater financial discounts.
12+
13+
bool D_getwaiver(float DiplomaResult)
14+
- Determines eligibility for a waiver based on the Diploma result for undergraduate for diploma holders.
15+
- Returns true if the Diploma result is 3.0 or higher, indicating eligibility for a waiver.
16+
- Returns false if the Diploma result is below 3.0, indicating ineligibility for a waiver.
17+
18+
NOTE: This function simplifies the waiver determination process for diploma holders
19+
by using a single threshold value, streamlining administrative procedures.
20+
621
void replace_placeholder(char *buffer, const char *placeholder, const char *value)
722
- At first, finds placeholder position
823
- Then adds null character at starting position of placeholder.

0 commit comments

Comments
 (0)