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 "; } }
0 comments:
Post a Comment