C++ program to print the floating-point numbers
kw.cpp
Output
kodingwindow@kw:~$ g++ kw.cpp
kodingwindow@kw:~$ ./a.out 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 kodingwindow@kw:~$
What Next?
C++ program to print the square of the numbers
C++ program to find the factorial of a given number
C++ Strings
Advertisement