C++ program to demonstrate the use of goto statement
kw.cpp
Output
kodingwindow@kw:~$ g++ kw.cpp
kodingwindow@kw:~$ ./a.out Enter a number 3.14 3 is an ODD number kodingwindow@kw:~$ ./a.out Enter a number 99 99 is an ODD number kodingwindow@kw:~$
Advertisement