/*********************************************************** Copyright 2003 Rick Miller - Pulp Free Press This source code accompanies the text C++ For Artists and is provided for instructional purposes only. No warranty concerning the quality of the code is expressed or implied. You are free to use this code in your programs so long as this copyright notice is included in its entirety. **********************************************************/ /**************************************** Control Flow Statement Examples *****************************************/ #include using namespace std; //introduces namespace std int main() { cout<<"*********** if statement ***************************"< b) cout<<"a is greater than b"<>input; if(input == 'a') cout<<"You entered a."<>input1; cout<<"Enter the character u or p: "; char input2; cin>>input2; if(input1 == 'a'){ cout<<"You entered a."<>input1; cout<<"Enter the character u or p: "; char input2; cin>>input2; switch(input1){ case 'a':{ cout<<"You entered a."<