+ 9
Wats the problem ? I cant find the problem. Thanks
#include <iostream> using namespace std; int main() { int a,b; cout<<"please inter the number"<<endl; cin>>a; b=a%2; if(b==0) { cout<<"your number its even"; } alse { cout<<"your number its odd "; } return 0; }
6 Answers
+ 7
thanks for your helpâșđ
+ 13
thanks for youer help
+ 4
else
+ 3
alse isnt a word itâs else
+ 3
Yah that's else and just remove using namspace std
+ 2
we can not change the spellings of a keyword,it results in a syntax error,and "else"is a keyword,so use the same spellings of the keywords.