NOTE : -
THIS CONTENT IS NOT ORIGINAL
2. // for one-line remarks
You can use // to type a remark:
(The possibility to use // to type remarks has been added to C in C99 and ANSI C 2000.)
You can use // to type a remark:
using namespace std; // Using the standard library namespace.
#include// The iostream library is often used.
int main () // The program's main routine.
{
double a; // Declaration of variable a.
a = 456.47;
a = a + a * 21.5 / 100; // A calculation.
cout << a << endl; // Display the content of a.
return 0; // Program end.
}
| Output |
| 554.611 |
(The possibility to use // to type remarks has been added to C in C99 and ANSI C 2000.)
BIBILOGRAPHY / REFERENCE : - http://www.4p8.com/eric.brasseur/cppcen.html

No comments:
Post a Comment