Q.Write a C++ program to accept a number. Using conditional operator print whether the number is even or odd. #include <iostream> using namespace std; int main() { int number; cout<<" Enter a number : "; cin>>number; string result...

Markdown supported · ⌘↵ to post
No responses yet.