Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Even Odd using Functions
#include <iostream> using namespace std; void odd(int); void even(int); int main () { int num; cout<<"Enter any number"; cin>>num; even(num); return 0; } void even(int a ) { if ( a%2==0) cout<<"\nEven number"; else odd(a); } void odd(int) { cout<<"\nOdd number"; }
run
|
edit
|
history
|
help
0
Vectors as Inputs to Map
NameTempSpecial2
new
finding counting multiple no that became a no
Test 8(2010)
Palindromy
cppPyTeleAbs
C++
OTHER - Two robots
reverse array