@@ -22,7 +22,7 @@ isgreaterequal(x, y)
2222
2323** Parameters:**
2424
25- - ` x ` , ` y ` : Floating-point or integers types .
25+ - ` x ` , ` y ` : Floating-point or integer values .
2626
2727> ** Notes:**
2828>
@@ -52,20 +52,20 @@ int main() {
5252 double z = nan("1");
5353
5454 cout << boolalpha;
55- cout << x << " isgreaterequal to " << y << ": " << isgreaterequal(x, y) << endl;
56- cout << y << " isgreaterequal to " << x << ": " << isgreaterequal(y, x) << endl;
57- cout << x << " isgreaterequal to " << z << ": " << isgreaterequal(x, z) << " (NaN comparison)" << endl;
55+ cout << x << " is greater than or equal to " << y << ": " << isgreaterequal(x, y) << endl;
56+ cout << y << " is greater than or equal to " << x << ": " << isgreaterequal(y, x) << endl;
57+ cout << x << " is greater than or equal to " << z << ": " << isgreaterequal(x, z) << " (NaN comparison)" << endl;
5858
5959 return 0;
6060}
6161```
6262
63- The output of this code is as follows:
63+ The output for this code is as follows:
6464
6565``` shell
66- 5.5 isgreaterequal to 3: true
67- 3 isgreaterequal to 5.5: false
68- 5.5 isgreaterequal to nan: false (NaN comparison)
66+ 5.5 is greater than or equal to 3: true
67+ 3 is greater than or equal to 5.5: false
68+ 5.5 is greater than or equal to nan: false (NaN comparison)
6969```
7070
7171## Codebyte Example
@@ -82,8 +82,8 @@ int main() {
8282 float b = 7.3;
8383
8484 cout << boolalpha;
85- cout << a << " isgreaterequal to " << b << ": " << isgreaterequal(a, b) << endl;
86- cout << b << " isgreaterequal to " << a << ": " << isgreaterequal(b, a) << endl;
85+ cout << a << " is greater than or equal to " << b << ": " << isgreaterequal(a, b) << endl;
86+ cout << b << " is greater than or equal to " << a << ": " << isgreaterequal(b, a) << endl;
8787
8888 return 0;
8989}
0 commit comments