Sunteți pe pagina 1din 19

#include "stdafx.

h"
#include <iostream>
#include <conio.h>
#include <string>
#include <windows.h>
#include <gotoxy.h>
#include <stdlib.h>
#include <delay.h>

using namespace std;

int main ()
{
float wk1, wk2, wk3, wk4, total;
string username= "", pass= "", keyboard= "", help_exit="", D, S, Y, help,
exit, choice;

//LOADING...

gotoxy (8, 20);


cout<<"Are You Ready?...";
gotoxy (25, 20);
Sleep (70);
cout<<" *";
gotoxy (30, 20);
Sleep (70);
cout<<" *";
gotoxy (35, 20);
Sleep (70);
cout<<" *";
gotoxy (40, 20);
Sleep (70);
cout<<" *";
gotoxy (45, 20);
Sleep (70);
cout<<" *";
gotoxy (50, 20);
Sleep (70);
cout<<" *";
gotoxy (55, 20);
Sleep (70);
cout<<" *";
gotoxy (60, 20);
Sleep (70);
cout<<" *";
gotoxy (65, 20);
Sleep (70);
cout<<" *";

gotoxy (65, 24);


Sleep (100);
cout<<" *";
gotoxy (65, 28);
Sleep (100);
cout<<" *";
gotoxy (65, 31);
Sleep (100);
cout<<" *";
gotoxy (65, 34);
Sleep (100);
cout<<" *";
gotoxy (65, 37);
Sleep (100);
cout<<" *";
gotoxy (65, 40);
Sleep (100);
cout<<" *";

gotoxy (60, 40);


Sleep (100);
cout<<" *";
gotoxy (55, 40);
Sleep (100);
cout<<" *";
gotoxy (50, 40);
Sleep (100);
cout<<" *";
gotoxy (45, 40);
Sleep (100);
cout<<" *";
gotoxy (40, 40);
Sleep (100);
cout<<" *";
gotoxy (35, 40);
Sleep (100);
cout<<" *";
gotoxy (30, 40);
Sleep (100);
cout<<" *";
gotoxy (25, 40);
Sleep (100);
cout<<" *";
gotoxy (20, 40);
Sleep (100);
cout<<" *";
gotoxy (15, 40);
Sleep (100);
cout<<" *";
gotoxy (10, 40);
Sleep (100);
cout<<" *";
gotoxy (5, 40);
Sleep (100);
cout<<" *";

gotoxy (5, 40);


Sleep (100);
cout<<" *";
gotoxy (5, 37);
Sleep (100);
cout<<" *";
gotoxy (5, 34);
Sleep (100);
cout<<" *";
gotoxy (5, 31);
Sleep (100);
cout<<" *";
gotoxy (5, 28);
Sleep (100);
cout<<" *";
gotoxy (5, 25);
Sleep (100);
cout<<" *";
gotoxy (5, 22);
Sleep (100);
cout<<" *\n";

gotoxy (15, 34);


cout<<"W";
Sleep(200);
gotoxy (18, 34);
cout<<"E";
Sleep(200);
gotoxy (21, 34);
cout<<"L";
Sleep(200);
gotoxy (24, 34);
cout<<"C";
Sleep(200);
gotoxy (27, 34);
cout<<"O";
Sleep(200);
gotoxy (30, 34);
cout<<"M";
Sleep(200);
gotoxy (33, 34);
cout<<"E";
Sleep(200);

Sleep (1000);
gotoxy (38, 25);
cout<<"Let's See the Growth";
Sleep (800);

gotoxy (38, 27);


cout<<"Let's See the Growth";
Sleep (800);

gotoxy (38, 29);


cout<<"Let's See the Growth";
Sleep (800);

gotoxy (38, 29);


cout<<" ";
Sleep (800);
gotoxy (38, 27);
cout<<" ";
Sleep (1500);

Sleep (200);
gotoxy(9, 42);
cout<< "This system will help you to know the growth of a Church";
Sleep (2000);

gotoxy(9, 43);
cout<< "Based on Weekly Attendees in Services .....";
Sleep (3500);
system ("cls");
gotoxy (11, 45);
cout<< " ";
Sleep (600);

gotoxy(11, 33);
cout<< "Let me help you ADMIN to compute .....";
Sleep (600);

gotoxy(11, 33);
cout<< " ";
Sleep (600);

gotoxy(11, 33);
cout<< "Let me help you ADMIN to compute .....";
Sleep (600);

gotoxy(11, 33);
cout<< " ";
Sleep (600);

gotoxy(11, 33);
cout<< "Let me help you ADMIN to compute .....";
Sleep (600);

gotoxy(11, 33);
cout<< " ";
Sleep (600);

gotoxy(11, 33);
cout<< "Let me help you ADMIN to compute .....";
Sleep (600);
Sleep (1000);

gotoxy(8, 35);
cout<< "L";
Sleep (300);

gotoxy(11, 35);
cout<< "E";
Sleep (300);

gotoxy(14, 35);
cout<< "T";
Sleep (300);

gotoxy(17, 35);
cout<< "S";
Sleep (300);

gotoxy(22, 35);
cout<< "S";
Sleep (300);

gotoxy(25, 35);
cout<< "T";
Sleep (300);

gotoxy(28, 35);
cout<< "A";
Sleep (300);

gotoxy(31, 35);
cout<< "R";
Sleep (300);

gotoxy(34, 35);
cout<< "T";
Sleep (1000);

system ("cls");

start:
char pw='13';

cout<<"\n\n\t\t\t\tEnter LOG-IN:";

system ("color 0c");


cout<<"\n\n\n\t\tusername: ";
cin>> username;

cout<<"\n\n\t\tpassword: ";

while(pw!=13)
{
pw =_getch();

if((pw>47 && pw<58) || (pw>64 && pw<91) || (pw>96 && pw<123))


{
pass.push_back(pw);
cout<<"*";
}

if(pw==8)
{
if(pass.size()!=0)
{
cout<<"\b \b";
pass.erase(pass.size()-1);
}

}
}

if (pass=="carisse012" && username=="krizia")


{
gotoxy (27, 12);
cout<<"log in success!";
Sleep (1500);

else
{
gotoxy (27, 12);
cout<<"invalid password or usermame";
Sleep (1500);
system ("cls");
goto start;

main_menu:

system ("color 60");


system ("cls");
Sleep (900);
cout<<"\n\n Type 'MENU' to main_menu: ";
cout<<"\n\n Type 'HELP' to know about the program: ";
cout<<"\n\n Type 'EXIT' to exit: ";
cout<<"\n\n\n Type here:";
cin>>help_exit;

system ("cls");
if (help_exit=="HELP")
{

cout<<"\n About the program: \n\n\t The program will give you an
accurate \n\t update/computation/status of the attendees from 1st-4th week\n\t
in the current Month.\n\n";
Sleep(1000);
cout<<"\n Brief description of the program and its purpose:";
cout<<"\n\n The concept is about system that will give you an update of
attendees\n (new and old members). And will help you also to know if there is a
growth\n or none in the Church, based on Weekly Services.\n";

Sleep(2000);
cout<<"\n\nDetailed instruction on how to use the program:\n\n";
Sleep(800);
cout<<"1. Enter the Corresponding Security Details.\n\n";
Sleep(800);
cout<<"2. On the Main Menu, enter the corresponding Letters to see the
Services with its information given.\n\n";
Sleep(800);
cout<<"3 Choose the accurate services under the options to input the
attendance of new and old members.\n\n";
Sleep(800);
cout<<"4. Enter the number of new and old attendees per week.\n\n";
Sleep(800);
cout<<"5. Enter again to know the total attendance for the Current
Month.\n\n";
Sleep(800);
cout<<"6. You can just simply be updated on the growth of the Church each
month about the New and Old Members.\n\n";

Sleep(2000);
cout<<"\n\n\n Credits: Krizia Carisse Pangan - BSIT-1B \n
The author of the Program...\n Glory to God!\n\n\n";

Sleep (1000);
delay (400);
system ("pause");
system ("cls");
goto main_menu;

else if (help_exit=="EXIT")
{

cout<<"\n\n\t\tAre you sure do you want to exit?";


cout<<"\n\n\t\t\tYES / NO: ";
cin>>choice;

if (choice=="YES")
{
cout<<"\n Thank You...";
cout<<"\n\n Press any key....";
goto exit;

else if (choice=="NO")
{
gotoxy (70, 15);
cout<<"\n\n\tLet's go back to the MAIN MENU......";
cout<<".";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
Sleep (1500);
system ("cls");
goto main_menu;

else
{
cout<< " \n\nPlease enter the corresponding letters YES or NO";
Sleep (2000);
system ("cls");
goto main_menu;

else if (help_exit=="MENU")
{
gotoxy (70, 15);
cout<<"\n\n\tLet's go to the MENU......";
cout<<".";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
Sleep (1500);
system ("cls");
goto main_menu1;
}

else
{

cout<< " \n\n Please enter the corresponding letters:";


Sleep (1500);
system ("cls");
goto main_menu;

main_menu1:

system ("cls");
system ("color 6f");
cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t| KNOW THE FLOW OF ATTENDANCE IN
CHURCH.\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";
Sleep (600);
system ("cls");

system ("color 60");


cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t| KNOW THE FLOW OF ATTENDANCE IN
CHURCH.\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";
Sleep (600);
system ("cls");

system ("color 6f");


cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t| KNOW THE FLOW OF ATTENDANCE IN
CHURCH.\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";
Sleep (600);
system ("cls");

system ("color 60");


cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t| KNOW THE FLOW OF ATTENDANCE IN
CHURCH.\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";
Sleep (600);
system ("cls");

system ("color 6f");


cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t| KNOW THE FLOW OF ATTENDANCE IN
CHURCH.\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";
Sleep (600);

system ("color 60");


cout<<"\nRock of Ages Revival to Mission Church has four(4) services every
week.\n\n";
cout<<" 1.Disciples Night \n every Friday 6:00pm-8:00pm\n\n 2.Sunday
Worship Service \n every Sunday 8:30am-10:30am \n\n 3.Youth Empowerment
Service \n every Sunday 3:00pm-4:30pm \n\n 4.Dawn Watch Prayer \n every 5:00am -
onwards \n\n\n";
Sleep (2000); //change this to 7000ms

cout<<"Let's input and compute the New and Old attendees in the options to
check the \nFLOW for this month.\n\n";
delay (400);
system ("pause");
system ("cls");

border:

gotoxy (4, 2);

cout<<"----------------------------------------------------------------------";

gotoxy (4, 15);

cout<<"----------------------------------------------------------------------";

//right side
gotoxy (4, 3);
cout<<"|";
gotoxy (4, 4);
cout<<"|";
gotoxy (4, 5);
cout<<"|";
gotoxy (4, 6);
cout<<"|";
gotoxy (4, 7);
cout<<"|";
gotoxy (4, 8);
cout<<"|";
gotoxy (4, 9);
cout<<"|";
gotoxy (4, 10);
cout<<"|";
gotoxy (4, 11);
cout<<"|";
gotoxy (4, 12);
cout<<"|";
gotoxy (4, 13);
cout<<"|";
gotoxy (4, 14);
cout<<"|";

//left side
gotoxy (73, 3);
cout<<"|";
gotoxy (73, 4);
cout<<"|";
gotoxy (73, 5);
cout<<"|";
gotoxy (73, 6);
cout<<"|";
gotoxy (73, 7);
cout<<"|";
gotoxy (73, 8);
cout<<"|";
gotoxy (73, 9);
cout<<"|";
gotoxy (73, 10);
cout<<"|";
gotoxy (73, 11);
cout<<"|";
gotoxy (73, 12);
cout<<"|";
gotoxy (73, 13);
cout<<"|";
gotoxy (73, 14);
cout<<"|";

gotoxy (4, 1);


cout<<"S E R V I C E S:";
Sleep (1000);

gotoxy (6, 4);


cout<<"1. Enter Capital 'D' for Disciple's Night.";
Sleep (1000);
gotoxy (6, 6);
cout<<"2. Enter Capital 'S' for Sunday Worship Service.";
Sleep (1000);

gotoxy (6, 8);


cout<<"3. Enter Capital 'Y' for Youth Empowerment Service.";
Sleep (1000);

gotoxy (6, 10);


cout<<"4. Enter Capital 'DW' for Dawn Watch Prayer.";
Sleep (1000);

gotoxy (6, 12);


cout<<"5. Enter Capital 'ALL' to compute all these four(4) services. \n\n";
Sleep (1000);

menu2:

gotoxy (7, 14);


cout<< "Enter now:";
cin>>keyboard;

if (keyboard=="D")
{
cout<<"\n.";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);

cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Disciple's Night
Service.\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";
Sleep (2000);
system ("cls");
cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Disciple's Night
Service.\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";

cout<<"\n\nThis service is Open for anyone, especially to all the


Disciples. \nYou can Worship the Lord freely and wholeheartedly. \nYou can rest and
find peace in the presence of the Lord through this service.\n";

Sleep (1300);
cout<<"\n Enter the TOTAL NUMBER OF ATTENDEES (old and new):\n";
cout<<"1st week:";
cin>>wk1;
cout<<"2nd week:";
cin>>wk2;
cout<<"3rd week:";
cin>>wk3;
cout<<"4th week:";
cin>>wk4;

total=wk1+wk2+wk3+wk4;

cout<<"\n The Total Attendance in Disciple's Night Service for the Whole
Month is: "<<total;
if (total<250)
{
cout<<"\n\t(it's less than 250) No Growth for this Month!";
}

else
{
cout<<"\n\t(it's greater than 250) There's Growth this Month!";
}

else if (keyboard=="S")
{
cout<<"\n.";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);

cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Sunday Worship
Service.\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";
Sleep (2000);
system ("cls");

cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Sunday Worship
Service.\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";

cout<<"\n\nThis service is Open for anyone. \nYou can Worship the Lord freely
and wholeheartedly. \nYou can rest and find peace in the presence of the Lord
through this service.\n";

Sleep (1300);
cout<<"\n Enter the TOTAL NUMBER OF ATTENDEES (old and new):\n";
cout<<"1st week:";
cin>>wk1;
cout<<"2nd week:";
cin>>wk2;
cout<<"3rd week:";
cin>>wk3;
cout<<"4th week:";
cin>>wk4;

total=wk1+wk2+wk3+wk4;

cout<<"\n The Total Attendance in Sunday Worship Service for the Whole Month
is: "<<total;
if (total<250)
{
cout<<"\n\t(it's less than 250) No Growth for this Month!";
}

else
{
cout<<"\n\t(it's greater than 250) There's Growth this Month!";
}
}

else if (keyboard=="Y")
{
cout<<"\n.";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);

cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Youth Empowerment
Service.\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";
Sleep (2000);
system ("cls");

cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Youth Empowerment
Service.\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";

cout<<"\n\nThis service is Open for YOUTH only. \nYou can Worship the Lord
freely and wholeheartedly. \nYou can rest and find peace in the presence of the
Lord through this service.\n";

Sleep (1300);
cout<<"\n Enter the TOTAL NUMBER OF ATTENDEES (old and new):\n";
cout<<"1st week:";
cin>>wk1;
cout<<"2nd week:";
cin>>wk2;
cout<<"3rd week:";
cin>>wk3;
cout<<"4th week:";
cin>>wk4;

total=wk1+wk2+wk3+wk4;
cout<<"\n The Total Attendance in Youth Empowerment Service for the Whole
Month is: "<<total;
if (total<250)
{
cout<<"\n\t(it's less than 250) No Growth for this Month!";
}

else
{
cout<<"\n\t(it's greater than 250) There's Growth this Month!";
}
}

else if (keyboard=="DW")
{
cout<<"\n.";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);

cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Dawn Watch
Prayer.\t\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";
Sleep (2000);
system ("cls");
cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Dawn Watch
Prayer.\t\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";

cout<<"\n\nThis service is Open for anyone. \nYou can Worship the Lord freely
and wholeheartedly. \nYou can rest and find peace in the presence of the Lord
through this service. \nAnd can be used to pray for the Humanity.\n";

Sleep (1300);
cout<<"\n Enter the TOTAL NUMBER OF ATTENDEES (old and new):\n";
cout<<"1st week:";
cin>>wk1;
cout<<"2nd week:";
cin>>wk2;
cout<<"3rd week:";
cin>>wk3;
cout<<"4th week:";
cin>>wk4;

total=wk1+wk2+wk3+wk4;

cout<<"\n The Total Attendance in Dawn Watch Prayer for the Whole Month is:
"<<total;
if (total<250)
{
cout<<"\n\t(it's less than 250) No Growth for this Month!";
}

else
{
cout<<"\n\t(it's greater than 250) There's Growth this Month!";
}

else if (keyboard=="ALL")
{
cout<<"\n.";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);

Sleep (500);
system ("cls");
cout<< "\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Disciple's Night
Service.\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";

cout<<"\n\nThis service is Open for anyone, especially to all the


Disciples. \nYou can Worship the Lord freely and wholeheartedly. \nYou can rest and
find peace in the presence of the Lord through this service.\n";

Sleep (1300);
cout<<"\n Enter the TOTAL NUMBER OF ATTENDEES (old and new):\n";
cout<<"1st week:";
cin>>wk1;
cout<<"2nd week:";
cin>>wk2;
cout<<"3rd week:";
cin>>wk3;
cout<<"4th week:";
cin>>wk4;

total=wk1+wk2+wk3+wk4;

cout<<"\n\nThe Total Attendance in Disciple's Night Service for the Whole


Month is: " <<total;
if (total<250)
{
cout<<"\n\t(it's less than 250) No Growth for this Month!\n\n";
}

else
{
cout<<"\n\t(it's greater than 250) There's Growth this Month!\n\n";
}

delay (400);
system ("pause");

cout<< "\n\n\n\n\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Sunday Worship
Service.\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";

cout<<"\n\nThis service is Open for anyone. \nYou can Worship the Lord freely
and wholeheartedly. \nYou can rest and find peace in the presence of the Lord
through this service.\n";

Sleep (1300);
cout<<"\n Enter the TOTAL NUMBER OF ATTENDEES (old and new):\n";
cout<<"1st week:";
cin>>wk1;
cout<<"2nd week:";
cin>>wk2;
cout<<"3rd week:";
cin>>wk3;
cout<<"4th week:";
cin>>wk4;

total=wk1+wk2+wk3+wk4;

cout<<"\n\nThe Total Attendance in Sunday Worship Service for the Whole


Month is: " <<total;
if (total<250)
{
cout<<"\n\t(it's less than 250) No Growth for this Month!\n\n";
}

else
{
cout<<"\n\t(it's greater than 250) There's Growth this Month!\n\n";
}

delay (400);
system ("pause");

cout<< "\n\n\n\n\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Youth Empowerment
Service.\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";

cout<<"\n\nThis service is Open for YOUTH only. \nYou can Worship the Lord
freely and wholeheartedly. \nYou can rest and find peace in the presence of the
Lord through this service.\n";

Sleep (1300);
cout<<"\n Enter the TOTAL NUMBER OF ATTENDEES (old and new):\n";
cout<<"1st week:";
cin>>wk1;
cout<<"2nd week:";
cin>>wk2;
cout<<"3rd week:";
cin>>wk3;
cout<<"4th week:";
cin>>wk4;

total=wk1+wk2+wk3+wk4;

cout<<"\n\nThe Total Attendance in Youth Empowerment Service for the Whole


Month is: " <<total;

if (total<250)
{
cout<<"\n\t(it's less than 250) No Growth for this Month!\n\n";
}

else
{
cout<<"\n\t(it's greater than 250) There's Growth this Month!\n\n";
}

delay (400);
system ("pause");

cout<< "\n\n\n\n\n\t\t-------------------------------------------------\n";
cout<< "\t\t|\t\t\t\t\t\t|\n\t\t|\t Dawn Watch
Prayer.\t\t\t|\n\t\t|\t\t\t\t\t\t|\n\t\t|\t\t\t\t\t\t|\n";
cout<< "\t\t-------------------------------------------------\n";

cout<<"\n\nThis service is Open for anyone. \nYou can Worship the Lord freely
and wholeheartedly. \nYou can rest and find peace in the presence of the Lord
through this service. \nAnd can be used to pray for the Humanity.\n";

Sleep (1300);
cout<<"\n Enter the TOTAL NUMBER OF ATTENDEES (old and new):\n";
cout<<"1st week:";
cin>>wk1;
cout<<"2nd week:";
cin>>wk2;
cout<<"3rd week:";
cin>>wk3;
cout<<"4th week:";
cin>>wk4;

total=wk1+wk2+wk3+wk4;

cout<<"\n The Total Attendance in Dawn Watch Prayer for the Whole Month is:
"<<total;
if (total<250)
{
cout<<"\n\t(it's less than 250) No Growth for this Month!";
}
else
{
cout<<"\n\t(it's greater than 250) There's Growth this Month!";
}

else
{

cout<< "\n\n Please enter the corresponding letters\n";


Sleep (1500);
system ("cls");
goto border;

cout<<"\n.";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);
cout<<" .";
Sleep(300);

Sleep (2000);
cout<< "\n\n\n -----------\n";
cout<< "| You successfully computed and now know the flow \n| of the
attendance for this whole month...\n\n";
Sleep (3000);

delay (400);
system ("pause");
system ("cls");
goto main_menu;

exit:

getch ();

return 0;
}

S-ar putea să vă placă și