This content originally appeared on DEV Community and was authored by Mohammed Salah
#include<iostream>
using namespace std;
int main()
{
int a;
cout<<" Enter the value of a = " ;
cin>>a;
if(a<10)
{
cout<<" Welcome in C++ World" ;
}
else
{
cout<<" Bye Bye"<<endl;
}
cin.get();
return 0;
}
This content originally appeared on DEV Community and was authored by Mohammed Salah
Print
Share
Comment
Cite
Upload
Translate
Updates
There are no updates yet.
Click the Upload button above to add an update.

APA
MLA
Mohammed Salah | Sciencx (2025-01-19T14:10:05+00:00) C++ 6th (if Statement ). Retrieved from https://www.scien.cx/2025/01/19/c-6th-if-statement/
" » C++ 6th (if Statement )." Mohammed Salah | Sciencx - Sunday January 19, 2025, https://www.scien.cx/2025/01/19/c-6th-if-statement/
HARVARDMohammed Salah | Sciencx Sunday January 19, 2025 » C++ 6th (if Statement )., viewed ,<https://www.scien.cx/2025/01/19/c-6th-if-statement/>
VANCOUVERMohammed Salah | Sciencx - » C++ 6th (if Statement ). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/19/c-6th-if-statement/
CHICAGO" » C++ 6th (if Statement )." Mohammed Salah | Sciencx - Accessed . https://www.scien.cx/2025/01/19/c-6th-if-statement/
IEEE" » C++ 6th (if Statement )." Mohammed Salah | Sciencx [Online]. Available: https://www.scien.cx/2025/01/19/c-6th-if-statement/. [Accessed: ]
rf:citation » C++ 6th (if Statement ) | Mohammed Salah | Sciencx | https://www.scien.cx/2025/01/19/c-6th-if-statement/ |
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.