-
Notifications
You must be signed in to change notification settings - Fork 1
/
G.BAK
51 lines (46 loc) · 1.12 KB
/
G.BAK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#include "H:\PROJECT\finpro\graph.h"
#include<graphics.h>
void main()
{
initialize_graphics();
//intro();
int choice;
int x=getmaxx();
int y=getmaxy();
int sx=x/2;
int sy=y/2;
do{
initialize_graphics();
initialize_background();
cout<<" \t\t\t\t MENU BAR\n"
<<"1.Linear\n"
<<"2.Quadratic\n"
<<"3.Cubic\n"
<<"4.Waves\n"
<<"5.Circle\n"
<<"6.Ellipse\n"
<<"7.Additional Trignometric and Algebraic Functions\n"
<<"8.EXIT\n"
<<"9.Bubble sort visualization\n"
<<"10.Custom function graphing\n"
<<"11.Fourier\n"
<<"12.Selection\n";
cout<<"\n\t Enter your choice:";
cin>>choice;
switch(choice)
{
case 1: linear();getch();break;
case 2: quadratic();getch();break;
case 3: cubic();getch();break;
case 4: sine();getch();break;
case 5: circle();getch();break;
case 6: ellipse();getch(); break;
case 7:trig();break;
case 8:exit(0);//outro();break;
case 9:bubble();break;
case 10:g();break;
case 11:fourier();break;
case 12:selection_sort();break;
}
}while(choice!=8);
}