How write this c code in pep/8 anyone help I am new to this
#include
using namespace std;
int main(){
int number;
cin>>number;
if(number%2 == 0 ){
cout<<"Even\n"; }
else{
cout<<"Odd\n"; }
return 0 ;
}
and thanks in advance :)
How write this c code in pep/8 anyone help I am new to this
#include
using namespace std;
int main(){
int number;
cin>>number;
if(number%2 == 0 ){
cout<<"Even\n"; }
else{
cout<<"Odd\n"; }
return 0 ;
}
and thanks in advance :)
No need i solved it by my self here is the code: