Курсовая работа: Система обработки научных данных
cleardevice();
int z=1;
while(z==1||z==2)
{
cout<<"\n\n\n\n\nPress 1 to return to previos menu";
cout<<"\nPress 2 to exit";
cin>>z;
if(z==1)
menu1();
else if(z==2)
exit(0);
else cout<<"Wrong choice";
}
}
void regress()
{ int n;
float cxy;
initialize();
settextstyle(5, HORIZ_DIR, 0);
setusercharsize(1, 1, 1, 1);
outtextxy(10,midy,"What type of data do you want to enter");
outtextxy(20,midy+30,"1.Discrete data of x and y values\n");
outtextxy(20,midy+60,"2.Data of all summations\n");
cin>>choice7;
// return (choice5);
closegraph();
switch(choice7)
{
case 1: