C++ 7th code (if-->odd&even)

#include using namespace std; int main() {int a; couta; cout

Jan 19, 2025 - 17:23
C++ 7th code (if-->odd&even)
#include
using namespace std;
int main()
{int a;
cout<<" \n\n\n  \t\t\t  Enter the number : ";
cin>>a;
cout<<"\n--------------------------------\n" ;
if(a%2==0)
{cout<<" \n\n\t The number is --> Even Number    \n " < odd Number" <