mirror of
https://github.com/RustyRaptor/isOddOrEven-collection.git
synced 2026-12-04 02:55:15 -07:00
8 lines
105 B
C++
8 lines
105 B
C++
const char* oddoreven(int a){
|
|
if (a%2==0){
|
|
return "Is even";
|
|
} else {
|
|
return "Is odd";
|
|
}
|
|
}
|