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
simple use of namespace
g++ -g bug
Test 8(2010)
Factoriel
HashFold
Flowchart segitiga
DBeach Resort 4R8J-8P (State of Rio Grande.do Norte Brazil)
Get all anagrams from given words
My love
pm zn moer 2.0