Romero Task5

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

#include <iostream>

#include <windows.h>

using namespace std ;

int main () {

char programming;

HANDLE h=GetStdHandle(STD_OUTPUT_HANDLE);

SetConsoleTextAttribute(h,12);

cout<<"********************************************************" <<endl;

cout<<" MUILTIPLE PROGRAMS " <<endl;

cout<<"-------------USING IF ELSE/ ELSE IF STATEMENT-------------" <<endl;

cout<<" PROGRAMMED BY: ENGR. PHILIP H ROMERO" <<endl;

cout<<"********************************************************" <<endl;

SetConsoleTextAttribute(h,9);

cout<<"MENU"<<endl;

cout<<" 1- VERSE OF THE DAY" <<endl;

cout<<" 2- PRESIDENT OF THE PHILIPPINES" <<endl;

cout<<" 3- MY FAVORITE PERSON" <<endl;

cout<<" 4_ HERO IN MOBILE LEGEND" <<endl;

cout<< "ENTER YOUR CHOICE: ";

SetConsoleTextAttribute(h,3);

cin>>programming;

cout<<endl <<endl;

SetConsoleTextAttribute(h,10);

if(programming =='1'){
cout<<" VERSE OF THE DAY:" <<endl;

cout<<" CALL UNTO ME AND I WILL ANSWER THEE.... "<<endl;

cout<<" JEREMIAH 33:3" <<endl;

SetConsoleTextAttribute(h,12);

}else if (programming =='2') {

cout<< " PRESIDENT OF THE PHILLIPINES: " <<endl;

cout<<" RODRIGO ROA DUTERTE" <<endl;

SetConsoleTextAttribute(h,4);

}else if (programming =='3') {

cout<<" MY FAVORITE PERSON:" <<endl;

cout<<" MAMA AND PAPA:" <<endl;

SetConsoleTextAttribute(h,7);

}else if (programming =='4') {

cout<<" HERO IN MOBILE LEGENDS:" <<endl;

cout<<" LESLEY:" <<endl;

return 0;

You might also like