You are on page 1of 3

// ConsoleApplication6.cpp : Defines the entry point for the console application.

//

#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;

int attemptcount(0);
char choice, answer;
string line(30, '='), line1(40, '=');

int _tmain(int argc, _TCHAR* argv[])


{

while (attemptcount < 1){


cout << "\n\t\t\t\t\t" << line1 << endl;
cout << "\n\t\t\t\t\tWELCOME TO LUISA L. LIM-ACO SENIOR HIGH SCHOOL" <<
endl;
cout << "\n\t\t\t\t\t" << line1 << endl;
cout << "Do you want to proceed to the program [Y] or [N]:" << endl;
cin >> answer;

system("cls");

if (answer == 'Y' || 'y') {

cout << "\n\t\t\t\t\t" << line1 << endl;


cout << "\n\t\t\t\t\tPress [1] for Grades" << endl;
cout << "\n\t\t\t\t\tPress [2] for Tuition Fee" << endl;
cout << "\n\t\t\t\t\tPress [3] for Class Schedule" << endl;
cout << "\n\t\t\t\t\tPress [4] for Schedule of Activities" << endl;
cout << "\n\t\t\t\t\tPress [5] to Exit" << endl;
cout << "\n\t\t\t\t\t" << line1 << endl;
cout << "\n\t\t\t\t\tEnter the number of your choice" << endl;
cin >> choice;
system("cls");
switch (choice){
case '1':
{
int g1, g2, g3, g4, g5, g6, g7, g8;
float ave = (g1 + g2 + g3 + g4 + g5 + g6 + g7 + g8) / 8;
cout << "\n\t\t\t\t\tGRADES" << endl;
cout << "\n\t\t\t\t\t" << line1 << endl;
cout << "\n\t\t\t\t\tEnter grade in Social Sciences:" << endl;
cin >> g1;
cout << "\n\t\t\t\t\tEnter grade in Media and Information Literacy:" << endl;
cin >> g2;
cout << "\n\t\t\t\t\tEnter grade in Trends, Networks and Critical Thinking:" <<
endl;
cin >> g3;
cout << "\n\t\t\t\t\tEnter grade in 21st Century Literature:" << endl;
cin >> g4;
cout << "\n\t\t\t\t\tEnter grade in Empowering Technologies:" << endl;
cin >> g5;
cout << "\n\t\t\t\t\tEnter grade in Practical Research 2:" << endl;
cin >> g6;
cout << "\n\t\t\t\t\tEnter grade in Creative Nonfiction:" << endl;
cin >> g7;
cout << "\n\t\t\t\t\tEnter grade in Physical Education 3:" << endl;
cin >> g8;
cin >> ave;
break;
}
case '2':
{
int tf = 907;
int u1, u2, u3, u4;
int tu = (u1 + u2 + u3 + u4) * 907;
cout << "\n\t\t\t\t\tTUITION FEE" << endl;
cout << "\n\t\t\t\t\t" << line1 << endl;
cout << "Enter the number of units in Languages:";
cin >> u1;
cout << "Enter the number of units in Computer:";
cin >> u2;
cout << "Enter the number of units in Mathematics:";
cin >> u3;
cout << "Enter the number of units in Sciences:";
cin >> u4;
cout << "Your total tuition fee for the semester is:\t" << tu << "PHP";
break;
}
case '3':
{
cout << "\n\t\t\t\t\tCLASS SCHEDULE" << endl;
cout << "\n\t\t\t\t\t" << line1 << endl;
cout << "SUBJECT\n\t\t\t\t\tTIME" << endl;
cout << "DISS\n\t\t\t\t\t8:15-9:15\t\t\tM-W-F" << endl;
cout << "MIL\n\t\t\t\t\t9:30-10:30\t\t\tM-W-F" << endl;
cout << "TNCT\n\t\t\t\t\t10:30-11:30\t\t\tM-W-F" << endl;
cout << "21st LIT\n\t\t\t\t\t11:30-12:30\t\t\tM-W-F" << endl;
cout << "PRACRES2\n\t\t\t\t\t2:00-3:30\t\t\tT-TH" << endl;
cout << "CNF\n\t\t\t\t\t3:30-5:00\t\t\tT-TH" << endl;
cout << "PE3\n\t\t\t\t\t7:30-8:30\t\t\tTH" << endl;
cout << "EmTech\n\t\t\t\t\t9:00-12:00\t\t\tTH" << endl;
break;
}
case '4':
{
cout << "ACTIVITIES" << endl;
cout << "\n\t\t\t\t\t" << line1 << endl;
cout << "For the month";
break;
}
default: {
break;
}
}

}
return 0;
}

Related Interests