Structure of the Problem Requirements
A bool value has two choices,true or false 1 or 0. Boolean values are used when we check some conditions against any statement. In this program we printout two different statements with Boolean true false condition.Source Code
#include<iostream>
using namespace std;
int main ()
{
cout<<" \t \t \t LEP Tutorials \n \n \n ";
bool LEP = true ;
if ( LEP ==false)
{
cout<<" FUNDAMENTAL OF PROGRAMMING FOR BEGINEERS WITH LEP. \n ";
}
else
{
cout<<"LEARN COMPUTER PROGRAMMING, JAVA, C++,LINUX,ANDROID WITH LEP.\n ";
}
}
Output of the Program
Asad Niazi is Software Engineer , Programmer, Web Developers and a young mentor of Tech Solutions Desk and Blogging Solutions . Asad Love to writes about Technology, Programming, Blogging and make money online.
0 comments:
Post a Comment