}
void os1_B()
{
int choice;
int choice1;
int choice2;
int choice3;
ptr=fopen("os_B.txt","a+");
ptr1=fopen("at_B.txt","a+");
ptr2=fopen("cn_2_B.txt","a+");
ptr3=fopen("oop_B.txt","a+");
ptr4=fopen("se_B.txt","a+");
ptr5=fopen("college_feedback.txt","a+");
ptr6=fopen("roll_no_SY.txt","a+");
int final_result;
int roll_no;
char name[20],surname[20];
char div[10],div1[10]="B",div2[10]="b";
char clas[10],clas1[10]="SY",clas2[10]="sy";
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! Enter Your Details !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\t\t\tENTER YOUR NAME:");
scanf("%s",name);
printf("\n\n\t\t\tEnter you Surname:");
scanf("%s",surname);
piche:
printf("\n\n\t\t\tEnter you class:");
scanf("%s",clas);
if(strcmp(clas,clas1)!=0 && strcmp(clas,clas2)!=0)
{
printf("\n\n\t\t\tSorry This Form is only for SY students");
back:
printf("\n\n\t\t\tEnter 1 to go to main menu and exit/Enter 0 to re-enter");
scanf("%d",&choice);
switch(choice)
{
case 1:system("cls");
menu();
break;
case 0:goto piche;
break;
default :printf("\n\n\t\t\tINVALID!!! RE-ENTER");
goto back;
break;
}
}
piche1:
printf("\n\n\t\t\tEnter you Division:");
scanf("%s",div);
if(strcmp(div,div1)!=0 && strcmp(div,div2)!=0)
{
printf("\n\n\t\t\tSorry This Form is only for SY B DIV students");
back6:
printf("\n\n\t\t\tEnter 1 to go to main menu and exit/Enter 0 to re-enter");
scanf("%d",&choice1);
switch(choice1)
{
case 1:system("cls");
menu();
break;
case 0:goto piche1;
break;
default :printf("\n\n\t\t\tINVALID!!! RE-ENTER");
goto back6;
break;
}
}
back12:
printf("\n\n\t\t\tEnter you roll no :");
scanf("%d",&roll_no);
if(roll_no<83 || roll_no>164)
{
printf("\n\n\t\tWrong Roll no Enter Again");
back10:
printf("\n\n\t\tEnter 1 to re-enter the Roll no Again,Enter 0 to main menu");
scanf("%d",&choice2);
if(choice2==1)
{
//system("cls");
goto back12;
}
else if(choice2==0)
{
system("cls");
menu();
}
else{
printf("\n\n\t\tInvalid choice Enter again!!");
goto back10;
}
}
//printf("%d",roll_no);
fprintf(ptr,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr1,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr2,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr3,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr4,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr5,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr6,"%d\n",roll_no);
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\tSubject:Operating systems faculty:Mrs Shatakshi.S.Kokate");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t(*Feel Free to give the feedback since it will be totally secured and only handled by the authorities)");
printf("\n\nPoints to consider:\n*Feedback Should be Given in the scale of 1 to 5 \n 1 <--- Poor \n 2 <--- Average \n 3 <--- Good \n 4 <--- Very Good \n 5 <--- Excellent ");
printf("\n");
back101:
printf("\n\t1.Is the Faculty Member Punctual and Regular in Taking Lectures\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer1);
if(answer1<1 || answer1>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back101;
}
back102:
printf("\n\t2.Does the Faculty Member Has Good Communication Skills\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer2);
if(answer2<1 || answer2>5)
{
//Printf("!!Enter choice between 1 <----> 5");
goto back102;
}
back103:
printf("\n\t3.Is the Syllabus of the subject covered by Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer3);
if(answer3<1 || answer3>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back103;
}
back104:
printf("\n\t4.Does the Faculty member work to improve students Understanding\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer4);
if(answer4<1 || answer4>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back104;
}
back105:
printf("\n\t5.What Overall Feedback whould you like to give to the Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer5);
if(answer5<1 || answer5>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back105;
}
final_result=(answer1+answer2+answer3+answer4+answer5)/5;
//printf("%d",final_result);
fprintf(ptr,"%d\n",final_result);
fclose(ptr);
fclose(ptr1);
fclose(ptr2);
fclose(ptr3);
fclose(ptr4);
fclose(ptr5);
fclose(ptr6);
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the Next subject Feedback Form");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
//menu2();
at_B();
else
{
printf("\nInvalid! Enter again\a");
goto add_invalid;
}
}
void at_B(){
ptr1=fopen("at_B.txt","a+");
int final_result;
/*char clas[10],div[5],roll_no[5],name[20],surname[20];
printf("\n\n\n\t\t\t\t ____STUDENT FACULTY FEEDBACK SYSTEM____");
printf("\n\t\t\tENTER YOUR NAME:");
scanf("%s",name);
printf("\n\t\t\tEnter you Surname");
scanf("%s",surname);
printf("\n\t\t\tEnter you class :");
scanf("%s",clas);
printf("\n\t\t\tEnter you div :");
scanf("%s",div);
printf("\n\t\t\tEnter you roll no :");
scanf("%s",roll_no);
//printf("%d",roll_no);
fprintf(ptr,"%s %s %s %s %s",name,surname,clas,div,roll_no);*/
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\tSubject:Automata Theory faculty:Mrs Radhika Dhanal");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\t(*Feel Free to give the feedback since it will be totally secured and only handled by the authorities)");
printf("\n\nPoints to consider:\n*Feedback Should be Given in the scale of 1 to 5 \n 1 <--- Poor \n 2 <--- Average \n 3 <--- Good \n 4 <--- Very Good \n 5 <--- Excellent ");
printf("\n");
back101:
printf("\n\t1.Is the Faculty Member Punctual and Regular in Taking Lectures\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer1);
if(answer1<1 || answer1>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back101;
}
back102:
printf("\n\t2.Does the Faculty Member Has Good Communication Skills\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer2);
if(answer2<1 || answer2>5)
{
//Printf("!!Enter choice between 1 <----> 5");
goto back102;
}
back103:
printf("\n\t3.Is the Syllabus of the subject covered by Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer3);
if(answer3<1 || answer3>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back103;
}
back104:
printf("\n\t4.Does the Faculty member work to improve students Understanding\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer4);
if(answer4<1 || answer4>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back104;
}
back105:
printf("\n\t5.What Overall Feedback whould you like to give to the Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer5);
if(answer5<1 || answer5>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back105;
}
final_result=(answer1+answer2+answer3+answer4+answer5)/5;
//printf("%d",final_result);
fprintf(ptr1,"%d\n",final_result);
fclose(ptr1);
add_invalid:
printf("\n\n\n\t\tEnter 1 To move to next Feedback Form!");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
//menu2();
cn_2_B();
else
{
printf("\nInvalid! Reenter again\a");
goto add_invalid;
}
}
void cn_2_B(){
ptr2=fopen("cn_2_B.txt","a+");
int final_result;
/*char clas[10],div[5],roll_no[5],name[20],surname[20];
printf("\n\n\n\t\t\t\t ____STUDENT FACULTY FEEDBACK SYSTEM____");
printf("\n\t\t\tENTER YOUR NAME:");
scanf("%s",name);
printf("\n\t\t\tEnter you Surname");
scanf("%s",surname);
printf("\n\t\t\tEnter you class :");
scanf("%s",clas);
printf("\n\t\t\tEnter you div :");
scanf("%s",div);
printf("\n\t\t\tEnter you roll no :");
scanf("%s",roll_no);
//printf("%d",roll_no);
fprintf(ptr,"%s %s %s %s %s",name,surname,clas,div,roll_no);*/
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\tSubject:Computer Networking II faculty:Mr.Aappasaheb Jadhav");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\t(*Feel Free to give the feedback since it will be totally secured and only handled by the authorities)");
printf("\n\nPoints to consider:\n*Feedback Should be Given in the scale of 1 to 5 \n 1 <--- Poor \n 2 <--- Average \n 3 <--- Good \n 4 <--- Very Good \n 5 <--- Excellent ");
printf("\n");
back101:
printf("\n\t1.Is the Faculty Member Punctual and Regular in Taking Lectures\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer1);
if(answer1<1 || answer1>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back101;
}
back102:
printf("\n\t2.Does the Faculty Member Has Good Communication Skills\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer2);
if(answer2<1 || answer2>5)
{
//Printf("!!Enter choice between 1 <----> 5");
goto back102;
}
back103:
printf("\n\t3.Is the Syllabus of the subject covered by Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer3);
if(answer3<1 || answer3>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back103;
}
back104:
printf("\n\t4.Does the Faculty member work to improve students Understanding\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer4);
if(answer4<1 || answer4>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back104;
}
back105:
printf("\n\t5.What Overall Feedback whould you like to give to the Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer5);
if(answer5<1 || answer5>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back105;
}
final_result=(answer1+answer2+answer3+answer4+answer5)/5;
//printf("%d",final_result);
fprintf(ptr2,"%d\n",final_result);
fclose(ptr2);
add_invalid:
printf("\n\n\n\t\tEnter 1 To move to next Feedback Form :");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
//menu2();
oop_B();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
void oop_B(){
ptr3=fopen("oop_B.txt","a+");
int final_result;
/*char clas[10],div[5],roll_no[5],name[20],surname[20];
printf("\n\n\n\t\t\t\t ____STUDENT FACULTY FEEDBACK SYSTEM____");
printf("\n\t\t\tENTER YOUR NAME:");
scanf("%s",name);
printf("\n\t\t\tEnter you Surname");
scanf("%s",surname);
printf("\n\t\t\tEnter you class :");
scanf("%s",clas);
printf("\n\t\t\tEnter you div :");
scanf("%s",div);
printf("\n\t\t\tEnter you roll no :");
scanf("%s",roll_no);
//printf("%d",roll_no);
fprintf(ptr,"%s %s %s %s %s",name,surname,clas,div,roll_no);*/
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\tSubject:Object Oriented Programming faculty:Mrs K.T.Mane");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\t(*Feel Free to give the feedback since it will be totally secured and only handled by the authorities)");
printf("\n\nPoints to consider:\n*Feedback Should be Given in the scale of 1 to 5 \n 1 <--- Poor \n 2 <--- Average \n 3 <--- Good \n 4 <--- Very Good \n 5 <--- Excellent ");
printf("\n");
back101:
printf("\n\t1.Is the Faculty Member Punctual and Regular in Taking Lectures\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer1);
if(answer1<1 || answer1>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back101;
}
back102:
printf("\n\t2.Does the Faculty Member Has Good Communication Skills\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer2);
if(answer2<1 || answer2>5)
{
//Printf("!!Enter choice between 1 <----> 5");
goto back102;
}
back103:
printf("\n\t3.Is the Syllabus of the subject covered by Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer3);
if(answer3<1 || answer3>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back103;
}
back104:
printf("\n\t4.Does the Faculty member work to improve students Understanding\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer4);
if(answer4<1 || answer4>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back104;
}
back105:
printf("\n\t5.What Overall Feedback whould you like to give to the Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer5);
if(answer5<1 || answer5>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back105;
}
final_result=(answer1+answer2+answer3+answer4+answer5)/5;
//printf("%d",final_result);
fprintf(ptr3,"%d\n",final_result);
fclose(ptr3);
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to Next FeedbackForm");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
//menu2();
se();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
void se_B(){
ptr4=fopen("se_B.txt","a+");
int final_result;
/*char clas[10],div[5],roll_no[5],name[20],surname[20];
printf("\n\n\n\t\t\t\t ____STUDENT FACULTY FEEDBACK SYSTEM___s_");
printf("\n\t\t\tENTER YOUR NAME:");
scanf("%s",name);
printf("\n\t\t\tEnter you Surname");
scanf("%s",surname);
printf("\n\t\t\tEnter you class :");
scanf("%s",clas);
printf("\n\t\t\tEnter you div :");
scanf("%s",div);
printf("\n\t\t\tEnter you roll no :");
scanf("%s",roll_no);
//printf("%d",roll_no);
fprintf(ptr,"%s %s %s %s %s",name,surname,clas,div,roll_no);*/
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\tSubject:Software Engineering faculty:Mrs Dhanashree Patil");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\t(*Feel Free to give the feedback since it will be totally secured and only handled by the authorities)");
printf("\n\nPoints to consider:\n*Feedback Should be Given in the scale of 1 to 5 \n 1 <--- Poor \n 2 <--- Average \n 3 <--- Good \n 4 <--- Very Good \n 5 <--- Excellent ");
printf("\n");
back101:
printf("\n\t1.Is the Faculty Member Punctual and Regular in Taking Lectures\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer1);
if(answer1<1 || answer1>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back101;
}
back102:
printf("\n\t2.Does the Faculty Member Has Good Communication Skills\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer2);
if(answer2<1 || answer2>5)
{
//Printf("!!Enter choice between 1 <----> 5");
goto back102;
}
back103:
printf("\n\t3.Is the Syllabus of the subject covered by Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer3);
if(answer3<1 || answer3>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back103;
}
back104:
printf("\n\t4.Does the Faculty member work to improve students Understanding\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer4);
if(answer4<1 || answer4>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back104;
}
back105:
printf("\n\t5.What Overall Feedback whould you like to give to the Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer5);
if(answer5<1 || answer5>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back105;
}
final_result=(answer1+answer2+answer3+answer4+answer5)/5;
//printf("%d",final_result);
fprintf(ptr4,"%d\n",final_result);
fclose(ptr4);
printf("\n\n\t\t!!You Have Sucessfully Completed the Faculty Feedback Form!!");
add_invalid:
printf("\n\n\n\t\tEnter 1 To Go College Feedback Section :");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
college_feedback();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
void menu2()
{
//goto back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! SUBJECTS & FACULTY NAMES !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\t\t\t Below are the names of all the faculties of DIV A:");
printf("\n\n\t\t\t1-->Operating systems faculty:Mrs Sonali.V.Shinge");
printf("\n\n\t\t\t2-->Automata Theory faculty:Mrs Ketaki.A.Bhosale (Class Co-ordinator)");
printf("\n\n\t\t\t3-->Computer Networking II faculty:Mr Vinit.A.Shevade");
printf("\n\n\t\t\t4-->Object Oriented PROGRAMMING faculty:Mrs Shatakshi.S.Kokate");
printf("\n\n\t\t\t5-->Software Engineering faculty:Dr.B.D.Jitkar");
/*printf("\n\n\t\t\t6-->Exit");
printf("\n\n\t\t\t7-->Main menu");*/
printf("\n\n\t\t\t Enter 1 to start the Feedback/enter 0 for back to main menu:");
scanf("%d",&option);
system("cls");
switch(option)
{
case 1:os1();
break;
case 0:menu();
break;
default:printf("Invalid Input Renter again");
fordelay(1000000000000000);
menu2();
break;
/*case 3:cn_2();
break;
case 4:oop();
break;
case 5:se();
break;
case 6:close();
break;
case 7:menu();
break;*/
}
}
void college_feedback()
{
ptr=fopen("college_feedback.txt","a+");
int final_result;
int exit;
/*char clas[10],department[5],name[20],surname[20];
printf("\n\n\n\t\t\t\t ____STUDENT FACULTY FEEDBACK SYSTEM____");
printf("\n\n\n\t\t\t College Feedback Section");
printf("\n\n\t\t\tENTER YOUR NAME:");
scanf("%s",name);
printf("\n\n\t\t\tEnter you Surname");
scanf("%s",surname);
printf("\n\n\t\t\tEnter you class :");
scanf("%s",clas);
printf("\n\n\t\t\tEnter your department :");
scanf("%s",department);*/
//fprintf(ptr,"%s\t\t\t %s\t\t\t %s\t\t\t %s\t\t\t",name,surname,clas,department);
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!!College Feedback Form !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\t\tFeel Free to give the feedback since it will be totally secured and only handled by the authorities");
printf("\n\nFeedback Should be Given in the scale of 1 to 5 \n 1 <--- Poor \n 2 <--- Average \n 3 <--- Good \n 4 <--- Very Good \n 5 <--- Excellent ");
printf("\n");
back111:
printf("\n\t1.Is the College environment suited for Studies\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer1);
if(answer1<1 || answer1>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back111;
}
back112:
printf("\n\t2.What Feedback Would you like to give about college canteen /cafetery\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer2);
if(answer2<1 || answer2>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back112;
}
back113:
printf("\n\t3.Are you able to acess to college wifi easily\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer3);
if(answer3<1 || answer3>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back113;
}
back114:
printf("\n\t4.What are your views on bus facilty provide by the students by the college\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer4);
if(answer4<1 || answer4>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back114;
}
back115:
printf("\n\t5.What Overall Feedback whould you like to give to the College Campus\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer5);
if(answer5<1 || answer5>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back115;
}
final_result=(answer1+answer2+answer3+answer4+answer5)/5;
//printf("%d",final_result);
fprintf(ptr,"%d\n",final_result);
fclose(ptr);
back200:
printf("\n\t\tFeedback Form Submitted Enter 1 For main menu To exit:");
scanf("%d",&exit);
if(exit==1)
{
system("cls");
menu();
}
else
{
printf("\n\t\tInvalid Reenter again");
goto back200;
}
//printf("")
}
void login()
{
//clrscr();
//fp = fopen("walke.xlsx","a");
//box(7,2,73,22);
//gotoxy(10,6);
int op;
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! STUDENT SECTION LOGIN MENU !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\t\t\tEnter YOUR USER ID: ");
//gotoxy(59,6);
//box1(48,5,70,7);
//gotoxy(50,6);
scanf("%s",user);
// fscanf(fi,"%s",data);
fi=fopen(user,"r");
if(fi==NULL)
{
//gotoxy(10,10);
printf("\n\n\t\t\tEnter right user id:\n");
login();
}
else
{
// fscanf(fi,"%s %s %d %s",temp,passnum,temp2,name);
fscanf(fi," %s %s %s %s %s %s %d ",name,mobile,genderc,password1,question,ansquestion,&ans);
//gotoxy(10,9); // \t1\t%s\t%s\t%s\t%s",credit,cardmon,cardyear,cvv)
printf("\n\n\t\t\tENTER YOUR PASSWORD:");
//box1(48,8,70,10);
//gotoxy(50,9);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
password[i]='\0';
break;
}
else if(temp2==BKSP)
{
if(i>0)
{
i--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
password[i]=temp2;
i++;
printf("*");
}
}
//scanf("%s",temp2);
ab=strcmp(password,password1);
if(ab==0)
{ //gotoxy(10,12);
//printf("you had successfully logedin\n");
//fscanf(fi,"%s %s",gar1,passnum);
//fscanf(fi,"%d %s %s %s %d %s %s %s %s %s %d %s %s %s %s",&yes,name,mobile,genderc,&nation,passport,password1,question,ansquestion,medical,&ans,credit,cardmon,cardyear,cvv);
fscanf(fi," %s %s %s %s %s %s %d ",name,mobile,genderc,password1,question,ansquestion,&ans);
//gotoxy(10,12);
system("cls");
back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\n\t\t\t\t !!! FEED BACK SECTION !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\n\t\t\t\t Choose the following option:");
printf("\n\n\n\t\t\t\t 1->Faculty Feedback Form");
printf("\n\n\n\t\t\t\t 2->College Feedback Form");
printf("\n\n\n\t\t\t\t 3-->Main Menu");
printf("\n\n\n\t\t\t\t Enter your opnion:");
scanf("%d",&op);
if(op==1)
{
system("cls");
//printf("\nWelcome %s",name);
menu3();
// menu2();
}
else if(op==2)
{
system("cls");
//printf("\nWelcome %s",name);
college_feedback();
}
else if(op==3)
{
system("cls");
menu();
}
else
{
printf("Invalid input re-enter again");
fordelay(1000000000000000000);
system("cls");
goto back;
}
}
else
{
//gotoxy(10,12);
printf("\n\n\t\tenter correct userid or password");
login();
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
student();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
}
void menu3()
{
int op_tion;
char pass[10],password[10]="DIV_A";
char pass1[10],password1[10]="DIV_B";
char pass2[10],password2[10]="DIV_C";
back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! Student Feedback Section !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\n\t\t\t\t Choose the following option:");
printf("\n\n\n\t\t\t\t 1->DIVISION A");
printf("\n\n\n\t\t\t\t 2->DIVISION B");
printf("\n\n\n\t\t\t\t 3->DIVISION C");
printf("\n\n\n\t\t\t\t Enter your opnion:");
scanf("%d",&op_tion);
if(op_tion==1)
{
system("cls");
//char pass[10],password[10]="os_svs";
int i=0;
system ("color 9");
back2:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! Security check !!!");
printf("\n\t\t\t\t_________________________________________________________");
printf("\n\t\t\t\t_________________________________________________________");
printf("\n\n\t*(IMP:If you are unaware of the password or any \n\t\t query related to it contact your Respective CLASS CO-ORDINATOR");
printf("\n\n\n\n\n\t\t\tEnter the unique code password To Login to DIV A Feedback Section :");
scanf("%s",pass);
//printf("\n\n\n\t\t*IMP:If you are unaware of the password or any \n\n\n\t\t query related to it contact your class co-ordinator");
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
system("cls");
menu2();
}
else{
//printf("\n\n\t\tInvalid Password Try again");
//fordelay(100000000000000000);
system("cls");
printf("\n\n\t\tInvalid Password Try again");
goto back2;
}
}
else if(op_tion==2)
{
system("cls");
//char pass[10],password[10]="os_svs";
int i=0;
system ("color 9");
ba:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! Security check !!!");
printf("\n\t\t\t\t_________________________________________________________");
printf("\n\t\t\t\t_________________________________________________________");
printf("\n\n\t*(IMP:If you are unaware of the password or any \n\tquery related to it contact your Respective CLASS CO-ORDINATOR)");
printf("\n\n\n\n\n\t\t\tEnter the unique code password To Login to DIV B Feedback Section :");
scanf("%s",pass1);
//printf("\n\n\n\t\t*IMP:If you are unaware of the password or any \n\n\n\t\t query related to it contact your class co-ordinator");
if (strcmp(pass1,password1)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
system("cls");
menu4();
}
else{
system("cls");
printf("\n\n\t\tInvalid Password Try again");
goto ba;
}
}
else if(op_tion==3)
{
system("cls");
//char pass[10],password[10]="os_svs";
int i=0;
system ("color 9");
bac:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! Security check !!!");
printf("\n\t\t\t\t_________________________________________________________");
printf("\n\t\t\t\t_________________________________________________________");
printf("\n\n\t*(IMP:If you are unaware of the password or any \n\t query related to it contact your Respective Class CO-ORDINATOR)");
printf("\n\n\n\n\n\t\t\tEnter the unique code password To Login to DIV C Feedback Section :");
scanf("%s",pass2);
//printf("\n\n\n\t\t*IMP:If you are unaware of the password or any \n\n\n\t\t query related to it contact your class co-ordinator");
if (strcmp(pass2,password2)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
system("cls");
menu5();
}
else{
system("cls");
printf("\n\n\t\tInvalid Password Try again");
goto bac;
}
}
else
{
printf("\n\n\n\t\t\t Invalid input Reenter agin");
fordelay(100000000000000000);
system("cls");
goto back;
}
}
void menu4(){
int option_B;
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! SUBJECTS & FACULTY NAMES !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\t\t\t Below are the names of all Faculties of DIV B:");
printf("\n\n\t\t\t1-->Operating systems faculty:Mrs Shatakshi.S.Kokate");
printf("\n\n\t\t\t2-->Automata Theory faculty:Mrs Radhika Dhanal");
printf("\n\n\t\t\t3-->Computer Networking II faculty:Mr Aappasaheb Jadhav");
printf("\n\n\t\t\t4-->Object Oriented PROGRAMMING faculty:Mrs K.T.Mane");
printf("\n\n\t\t\t5-->Software Engineering faculty:Mrs Dhanashree Patil");
/*printf("\n\n\t\t\t7-->Main menu");
printf("\n\n\t\t\t Enter your choice:");*/
printf("\n\n\t\t\t Enter 1 to start the Feedback/enter 0 for back to main menu:");
scanf("%d",&option_B);
system("cls");
switch(option_B)
{
case 1:os1_B();
break;
case 0:menu();
break;
/*case 3:cn_2_B();
break;
case 4:oop_B();
break;
case 5:se_B();
break;
case 6:close();
break;
case 7:menu();
break;*/
default:printf("Invalid input re-enter Again");
fordelay(100000000);
menu4();
break;
}
}
void menu5(){
int option_C;
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! SUBJECTS & FACULTY NAMES !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\t\t\tBelow are the names of all Faculties of DIV c :");
printf("\n\n\t\t\t1-->Operating systems faculty:Mrs Sonali surve");
printf("\n\n\t\t\t2-->Automata Theory faculty:Mr Ravindra Kambli");
printf("\n\n\t\t\t3-->Computer Networking II faculty:Mrs Madhurima Mane");
printf("\n\n\t\t\t4-->Object Oriented PROGRAMMING faculty:Mrs Shobha Patil");
printf("\n\n\t\t\t5-->Software Engineering faculty:Mrs Ranjita Patil");
printf("\n\n\t\t\t Enter 1 to start the Feedback/enter 0 for back to main menu:");
scanf("%d",&option_C);
system("cls");
switch(option_C)
{
case 1:os1_C();
break;
case 0:menu();
break;
/*case 3:cn_2_C();
break;
case 4:oop_C();
break;
case 5:se_C();
break;
case 6:close();
break;
case 7:menu();
break;*/
default:printf("Invalid input re-enter Again");
fordelay(100000000);
menu5();
break;
}
}
void os1_C(){
int choice;
int choice1;
int choice2;
int choice3;
ptr=fopen("os_C.txt","a+");
ptr1=fopen("at_C.txt","a+");
ptr2=fopen("cn_2_C.txt","a+");
ptr3=fopen("oop_C.txt","a+");
ptr4=fopen("se_C.txt","a+");
ptr5=fopen("college_feedback.txt","a+");
ptr6=fopen("roll_no_SY.txt","a+");
int final_result;
int roll_no;
char name[20],surname[20];
char div[10],div1[10]="C",div2[10]="c";
char clas[10],clas1[10]="SY",clas2[10]="sy";
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! Enter Your Details !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\t\t\tENTER YOUR NAME:");
scanf("%s",name);
printf("\n\n\t\t\tEnter you Surname:");
scanf("%s",surname);
piche:
printf("\n\n\t\t\tEnter you class:");
scanf("%s",clas);
if(strcmp(clas,clas1)!=0 && strcmp(clas,clas2)!=0)
{
printf("\n\n\t\t\tSorry This Form is only for SY students");
back:
printf("\n\n\t\t\tEnter 1 to go to main menu and exit/Enter 0 to re-enter");
scanf("%d",&choice);
switch(choice)
{
case 1:system("cls");
menu();
break;
case 0:goto piche;
break;
default :printf("\n\n\t\t\tINVALID!!! RE-ENTER");
goto back;
break;
}
}
piche1:
printf("\n\n\t\t\tEnter you Division:");
scanf("%s",div);
if(strcmp(div,div1)!=0 && strcmp(div,div2)!=0)
{
printf("\n\n\t\t\tSorry This Form is only for SY C DIV students");
back6:
printf("\n\n\t\t\tEnter 1 to go to main menu and exit/Enter 0 to re-enter");
scanf("%d",&choice1);
switch(choice1)
{
case 1:system("cls");
menu();
break;
case 0:goto piche1;
break;
default :printf("\n\n\t\t\tINVALID!!! RE-ENTER");
goto back6;
break;
}
}
back12:
printf("\n\n\t\t\tEnter you roll no :");
scanf("%d",&roll_no);
if(roll_no<165 || roll_no>247)
{
printf("\n\n\t\tWrong Roll no Enter Again");
back10:
printf("\n\n\t\tEnter 1 to re-enter the Roll no Again,Enter 0 to main menu");
scanf("%d",&choice2);
if(choice2==1)
{
//system("cls");
goto back12;
}
else if(choice2==0)
{
system("cls");
menu();
}
else{
printf("\n\n\t\tInvalid choice Enter again!!");
goto back10;
}
}
//printf("%d",roll_no);
fprintf(ptr,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr1,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr2,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr3,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr4,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr5,"\n%s %s\t\t %s\t\t %s\t\t %d\t\t",name,surname,clas,div,roll_no);
fprintf(ptr6,"%d\n",roll_no);
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\tSubject:Operating systems faculty:Mrs Sonali Surve");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t(*Feel Free to give the feedback since it will be totally secured and only handled by the authorities)");
printf("\n\nPoints to consider:\n*Feedback Should be Given in the scale of 1 to 5 \n 1 <--- Poor \n 2 <--- Average \n 3 <--- Good \n 4 <--- Very Good \n 5 <--- Excellent ");
printf("\n");
back101:
printf("\n\t1.Is the Faculty Member Punctual and Regular in Taking Lectures\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer1);
if(answer1<1 || answer1>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back101;
}
back102:
printf("\n\t2.Does the Faculty Member Has Good Communication Skills\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer2);
if(answer2<1 || answer2>5)
{
//Printf("!!Enter choice between 1 <----> 5");
goto back102;
}
back103:
printf("\n\t3.Is the Syllabus of the subject covered by Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer3);
if(answer3<1 || answer3>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back103;
}
back104:
printf("\n\t4.Does the Faculty member work to improve students Understanding\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer4);
if(answer4<1 || answer4>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back104;
}
back105:
printf("\n\t5.What Overall Feedback whould you like to give to the Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer5);
if(answer5<1 || answer5>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back105;
}
final_result=(answer1+answer2+answer3+answer4+answer5)/5;
//printf("%d",final_result);
fprintf(ptr,"%d\n",final_result);
fclose(ptr);
fclose(ptr1);
fclose(ptr2);
fclose(ptr3);
fclose(ptr4);
fclose(ptr5);
fclose(ptr6);
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the Next subject Feedback Form");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
//menu2();
at_C();
else
{
printf("\nInvalid! Enter again\a");
goto add_invalid;
}
}
void at_C(){
ptr1=fopen("at_C.txt","a+");
int final_result;
/*char clas[10],div[5],roll_no[5],name[20],surname[20];
printf("\n\n\n\t\t\t\t ____STUDENT FACULTY FEEDBACK SYSTEM____");
printf("\n\t\t\tENTER YOUR NAME:");
scanf("%s",name);
printf("\n\t\t\tEnter you Surname");
scanf("%s",surname);
printf("\n\t\t\tEnter you class :");
scanf("%s",clas);
printf("\n\t\t\tEnter you div :");
scanf("%s",div);
printf("\n\t\t\tEnter you roll no :");
scanf("%s",roll_no);
//printf("%d",roll_no);
fprintf(ptr,"%s %s %s %s %s",name,surname,clas,div,roll_no);*/
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\tSubject:Automata Theory faculty:Mrs Ravindra Kambli");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\t(*Feel Free to give the feedback since it will be totally secured and only handled by the authorities)");
printf("\n\nPoints to consider:\n*Feedback Should be Given in the scale of 1 to 5 \n 1 <--- Poor \n 2 <--- Average \n 3 <--- Good \n 4 <--- Very Good \n 5 <--- Excellent ");
printf("\n");
back101:
printf("\n\t1.Is the Faculty Member Punctual and Regular in Taking Lectures\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer1);
if(answer1<1 || answer1>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back101;
}
back102:
printf("\n\t2.Does the Faculty Member Has Good Communication Skills\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer2);
if(answer2<1 || answer2>5)
{
//Printf("!!Enter choice between 1 <----> 5");
goto back102;
}
back103:
printf("\n\t3.Is the Syllabus of the subject covered by Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer3);
if(answer3<1 || answer3>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back103;
}
back104:
printf("\n\t4.Does the Faculty member work to improve students Understanding\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer4);
if(answer4<1 || answer4>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back104;
}
back105:
printf("\n\t5.What Overall Feedback whould you like to give to the Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer5);
if(answer5<1 || answer5>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back105;
}
final_result=(answer1+answer2+answer3+answer4+answer5)/5;
//printf("%d",final_result);
fprintf(ptr1,"%d\n",final_result);
fclose(ptr1);
add_invalid:
printf("\n\n\n\t\tEnter 1 To move to next Feedback Form!");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
//menu2();
cn_2_C();
else
{
printf("\nInvalid! Reenter again\a");
goto add_invalid;
}
}
void cn_2_C(){
ptr2=fopen("cn_2_C.txt","a+");
int final_result;
/*char clas[10],div[5],roll_no[5],name[20],surname[20];
printf("\n\n\n\t\t\t\t ____STUDENT FACULTY FEEDBACK SYSTEM____");
printf("\n\t\t\tENTER YOUR NAME:");
scanf("%s",name);
printf("\n\t\t\tEnter you Surname");
scanf("%s",surname);
printf("\n\t\t\tEnter you class :");
scanf("%s",clas);
printf("\n\t\t\tEnter you div :");
scanf("%s",div);
printf("\n\t\t\tEnter you roll no :");
scanf("%s",roll_no);
//printf("%d",roll_no);
fprintf(ptr,"%s %printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\tSubject:Automata Theory faculty:Mrs Ranjita Patil");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\n\t\t(*Feel Free to give the feedback since it will be totally secured and only handled by the authorities)");
printf("\n\nPoints to consider:\n*Feedback Should be Given in the scale of 1 to 5 \n 1 <--- Poor \n 2 <--- Average \n 3 <--- Good \n 4 <--- Very Good \n 5 <--- Excellent ");
printf("\n");
back101:
printf("\n\t1.Is the Faculty Member Punctual and Regular in Taking Lectures\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer1);
if(answer1<1 || answer1>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back101;
}
back102:
printf("\n\t2.Does the Faculty Member Has Good Communication Skills\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer2);
if(answer2<1 || answer2>5)
{
//Printf("!!Enter choice between 1 <----> 5");
goto back102;
}
back103:
printf("\n\t3.Is the Syllabus of the subject covered by Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer3);
if(answer3<1 || answer3>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back103;
}
back104:
printf("\n\t4.Does the Faculty member work to improve students Understanding\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer4);
if(answer4<1 || answer4>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back104;
}
back105:
printf("\n\t5.What Overall Feedback whould you like to give to the Faculty member\n");
printf("\tEnter Your Feedback:");
scanf("%d",&answer5);
if(answer5<1 || answer5>5)
{
printf("\n\tInvalid Choice Entry!!");
goto back105;
}
final_result=(answer1+answer2+answer3+answer4+answer5)/5;
//printf("%d",final_result);
fprintf(ptr4,"%d\n",final_result);
fclose(ptr4);
printf("\n\n\t\t!!You Have Sucessfully Completed the Faculty Feedback Form!!");
add_invalid:
printf("\n\n\n\t\tEnter 1 To Go College Feedback Section :");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
college_feedback();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
void new_reg()
{
//box(7,6,73,22);
//gotoxy(9,3);
fp = fopen("walke.txt","a+");
//gotoxy(10,12);
back:
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\t\t\t\t !!! Student Registration section !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\t\t\t Create USER ID : ");
//gotoxy(58,12);
//printf("=");
//gotoxy(60,12);
scanf("%s",ui);
//clrscr();
//box(7,6,73,22);
ch=fopen(ui,"r");
fscanf(ch,"%d",&ch2);
if(ch2==1)
{
//gotoxy(10,15);
printf("user id already exist plz enter another user id\n");
//delay(2000);
ch2=0;
fordelay(1000000000);
goto back;
}
else
{
//gotoxy(8,3);
//printf("*--------------------0--------------------0--------------------0");
//gotoxy(5,4);
//printf("personal detail information security additional");
//box(7,6,73,22);
fi=fopen(ui,"w+");
//gotoxy(10,18);
/*rintf("NOTE: you can't cahnge your name,last name, gender,");
gotoxy(10,19);
printf(" mobile number after signing up.so be careful while");
gotoxy(10,20);
printf(" entering your data:)");*/
//gotoxy(10,7);
printf("\n\n\t\t\tENTER YOUR FIRST NAME:");
//gotoxy(58,7);
//printf("=");
//gotoxy(60,7);
scanf("%s",name);
//gotoxy(10,9);
printf("\n\n\t\t\tENTER YOUR LAST NAME");
//gotoxy(58,9);
//printf("=");
//gotoxy(60,9);
scanf("%s",surname);
//gotoxy(10,11);
printf("\n\n\t\t\t ENTER GENDER 1.MALE \n\n\t\t\t 2.FEMALE: ");
/*gotoxy(24,12);
printf("2.FEMALE");
gotoxy(24,13);
printf("3.OTHER");
gotoxy(58,11);
printf("=");
gotoxy(60,11);
scanf("%d",&gender);*/
//gotoxy(10,15);
mobile: printf("\n\n\t\t\tENTER YOUR PRN NUMBER");
//gotoxy(58,15);
//printf("=");
//gotoxy(60,15);
scanf("%s",mobile);
ab=strlen(mobile);
if(ab==10)
{
a=1;
if(gender==1)
{
fprintf(fi,"%d %s %s MALE",a,name,mobile);
fprintf(fp,"%s\t%s\t%s\tMALE",ui,name,mobile);
}
else if(gender==2)
{
fprintf(fi,"%d %s %s FEMALE",a,name,mobile);
fprintf(fp,"%s\t%s\t%s\tFEMALE",ui,name,mobile);
}
else if(gender==3)
{
fprintf(fi,"%d %s %s OTHER ",a,name,mobile);
fprintf(fp,"%s\t%s\t%s\tOTHER",ui,name,mobile);
}
security(ui);
}
else
{
//gotoxy(10,17);
printf("Enter valid PRN number:");
goto mobile;
}
}
}
void security(char ui[])
{
ch=fopen(ui,"a");
//gotoxy(10,8);
printf("\n\n\t\t\tSET YOUR PASSWORD:");
/*g0otoxy(58,8);
printf("=");
gotoxy(60,8);*/
scanf("%s",password);
//gotoxy(10,10);
printf("\n\n\t\t\tRE-TYPE YOUR PASSWORD");
//gotoxy(58,10);
//printf("=");
//gotoxy(60,10);
scanf("%s",password1);
ans=strcmp(password,password1);
if(ans2==0)
{
fprintf(ch,"\t%s",password[20]);
//fprintf(fp,"\t%s",password[20]);
/* fscanf(ch,"%d %s %s %s %d %s %s",&yes,name,mobile,gender,&nation,passport,aadhar);
remove(ui);
yes=1;
ch=fopen(ui,"w");
fprintf(ch,"%s/t %d/t %s/t %s/t %s/t %d/t %s/t %s",password,yes,name,mobile,gender */
}
else
{
//gotoxy(10,12);
printf("ENTER CORRECT PASSWORD:");
//delay(500);
security(ui);
}
//gotoxy(28,12);
printf("\n\n\tSECURITY QUESTION: MAKE YOUR QUESTION");
//gotoxy(10,14);
printf("\n\n\tWHAT IS YOUR FAVORITE : ");
/*gotoxy(35,14);
printf("=");
gotoxy(37,14);*/
printf("___________");
//gotoxy(37,14);
scanf("%s",question);
fprintf(ch,"\t%s",question);
//gotoxy(10,16);
printf("\n\n\tANSWER OF YOUR QUESTION:");
/*gotoxy(35,16);
printf("=");*/
//gotoxy(37,16);
printf("___________");
//gotoxy(37,16);
scanf("%s",ansquestion);
fprintf(ch,"\t%s",ansquestion);
printf("\n\n\t\t\tRegistration Done sucessfully!!!!");
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
student();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
//additional(ui);
}
void fordelay(int j)
{ int i,k;
for(i=0;i<j;i++)
k=i;
}
void close(void)
{
printf("\n\n\n\nProject by roll no 57 58 59 60");
}
void student()
{
int choice;
system("cls");
back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\n\t\t\t !!! WELCOME TO STUDENT FEEDBACK SECTION !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\n\t\t 1-->LOGIN\n\n\t\t 2-->NEW STUDENT REGISTRATION \n\n\t\t 3-->BACK TO MAIN MENU \n\n\t\t 4-->EXIT \n\n\n\t\t Enter your choice:");
scanf("%d",&choice);
system("cls");
switch(choice)
{
case 1://login();
signin();
break;
case 2://new_reg();
signup();
break;
case 3:menu();
break;
case 4:close();
break;
default:printf("\n\n\t\tInvalid Choice Entered, Enter Again");
goto back;
break;
}
}
void faculty()
{
back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! WELCOME TO Faculty Section of A division !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\nSelect the subject to view student feedback:");
printf("\n\n\t\t\t1-->Operating systems faculty:Mrs Sonali.V.Shinge");
printf("\n\n\t\t\t2-->Automata Theory faculty:Mrs Ketaki.A.Bhosale");
printf("\n\n\t\t\t3-->Computer Networking II faculty:Mr Vinit.A.Shevade");
printf("\n\n\t\t\t4-->Object Oriented PROGRAMMING faculty:Mrs Shatakshi.S.Kokate");
printf("\n\n\t\t\t5-->Software Engineering faculty:Dr.B.D.Jitkar");
//printf("\n\n\t\t\t6-->Exit");
printf("\n\n\t\t\t7-->Main menu");
printf("\n\n\t\t\t Enter your choice:");
scanf("%d",&option);
system("cls");
switch(option)
{
case 1:OS();
break;
case 2:AT();
break;
case 3:CN_2();
break;
case 4:OOP();
break;
case 5:SE();
break;
case 6:menu();
break;
default:printf("\n\n\t\tInvalid input rerenter again:");
goto back;
break;
}
}
void OS(){
char pass[10],password[10]="os_svs";
int i=0;
int p=0;
ptr=fopen("os.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Operating System Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");s %s %s %s",name,surname,clas,div,roll_no);*/
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs.Sonali.V.Shinge");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
OS();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void AT()
{
char pass[10],password[10]="at_kab";
int i=0;
int p=0;
ptr=fopen("at.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Automata Theory Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs.Ketaki.A.Bhosale");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
AT();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void CN_2()
{
char pass[10],password[10]="cn2_vas";
int i=0;
int p=0;
ptr=fopen("cn2.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Computer Networking II Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mr.Vinit.A.Shevade");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void OOP(){
char pass[10],password[10]="oop_ssk";
int i=0;
int p=0;
ptr=fopen("oop.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Object oriented Programming Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs.Shatakshi.S.Kokate");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
OOP();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void SE(){
char pass[10],password[10]="se_bdj";
int i=0;
int p=0;
ptr=fopen("se.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Software Engineering Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mr.B.D.Jitkar");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
SE();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void college_fb_view()
{
char pass[10],password[10]="dypcet";
int i=0;
ptr=fopen("college_feedback.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! WELCOME TO COLLEGE SECTION !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see College Feedback Data :");
scanf("%s",pass);
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! WELCOME TO COLLEGE SECTION !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\n\nName class department Avg(marks)Feedback Given to College\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
college_fb_view();
}
else if (main_exit==0)
{
system("cls");
menu();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void college_section()
{
int choi;
back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! WELCOME TO COLLEGE SECTION !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\t\t 1-->View Faculty Feedback \n\n\t\t 2-->View College Feedback \n\n\t\t 3-->Main Menu \n\n\t\tEnter your choice:");
scanf("%d",&choi);
switch(choi)
{
case 1:system("cls");
//faculty();
menu6();
break;
case 2:system("cls");
college_fb_view();
break;
case 3:menu();
break;
default:printf("\n\n\t\tInvalid Input Renter Agian:");
goto back;
}
}
void menu(void)
{ int choice;
char pass[10],password[10]="DYPCET";
system("cls");
system("color 6");
back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! WELCOME TO THE MAIN MENU !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n");
printf("\n\n\t\t****************************************************");
printf("\n\t\t****************************************************");
printf("\n\n\t\t|||| \t\t1-->STUDENT FEEDBACK SECTION \t||||\n\n\t\t|||| \t\t2-->FACULTY SECTION \t|||| \n\n\t\t|||| \t\t3-->COLLEGE SECTION \t|||| \n\n\t\t|||| \t\t4-->EXIT \t||||");
printf("\n\n\t\t****************************************************");
printf("\n\t\t****************************************************");
printf("\n\n\t\tEnter Your Choice:");
scanf("%d",&choice);
system("cls");
system("cls");
switch(choice)
{
case 1:student();
break;
case 2:menu6();//changes made
break;
case 3://char pass[10],password[10]="se_bdj";
//int i=0;
//ptr=fopen("se.txt","r");
//int ch=getc(ptr);
//system ("color 9");
soham:
printf("\n\n\n\t\t\t\t ____STUDENT FACULTY FEEDBACK SYSTEM____\n\n\t\t\t\t\t ");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to Enter the College Section Data :");
scanf("%s",pass);
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(int i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
system("cls");
college_section();
}
else{
printf("\n\n\t\tInvalid Enter Again:");
system("cls");
goto soham;
}
break;
case 4:close();
break;
default:printf("\n\n\t\t*Invalid option entered ,enter Again ");
goto back;
break;
}
}
void faculty_B(){
back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! WELCOME TO Faculty Section of B division !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\nSelect the subject to view student feedback:");
printf("\n\n\t\t\t1-->Operating systems faculty:Mrs Shatakshi.S.Kokate");
printf("\n\n\t\t\t2-->Automata Theory faculty:Mrs Radhika Dhanal");
printf("\n\n\t\t\t3-->Computer Networking II faculty:Mr Aappasaheb Jadhav");
printf("\n\n\t\t\t4-->Object Oriented PROGRAMMING faculty:Mrs K.T.Mane");
printf("\n\n\t\t\t5-->Software Engineering faculty:Mrs Dhanashree patil");
//printf("\n\n\t\t\t6-->Exit");
printf("\n\n\t\t\t6-->Main menu");
printf("\n\n\t\t\t Enter your choice:");
scanf("%d",&option);
system("cls");
switch(option)
{
case 1:OS_B();
break;
case 2:AT_B();
break;
case 3:CN_2_B();
break;
case 4:OOP_B();
break;
case 5:SE_B();
break;
case 6:menu();
break;
default:printf("\n\n\t\tInvalid Input Enter again");
goto back;
break;
}
}
void faculty_C(){
back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! WELCOME TO Faculty Section of C division !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\nSelect the subject to view student feedback:");
printf("\n\n\t\t\t1-->Operating systems faculty:Mrs Sonali Surve");
printf("\n\n\t\t\t2-->Automata Theory faculty:Mr Ravindra Kambli");
printf("\n\n\t\t\t3-->Computer Networking II faculty:Mrs Madhurima Mane");
printf("\n\n\t\t\t4-->Object Oriented PROGRAMMING faculty:Mrs Shobha Patil");
printf("\n\n\t\t\t5-->Software Engineering faculty:Mrs Ranjita Ptil");
//printf("\n\n\t\t\t6-->Exit");
printf("\n\n\t\t\t7-->Main menu");
printf("\n\n\t\t\t Enter your choice:");
scanf("%d",&option);
system("cls");
switch(option)
{
case 1:OS_C();
break;
case 2:AT_C();
break;
case 3:CN_2_C();
break;
case 4:OOP_C();
break;
case 5:SE_C();
break;
case 6:menu();
break;
default:printf("\n\n\t\tInvalid Input Enter again");
goto back;
break;
}
}
void CN_2_C(){
char pass[10],password[10]="cn2_mm";
int i=0;
int p=0;
ptr=fopen("cn_2_C.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Operating System Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs Madhurima Mane");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void OS_C() {
char pass[10],password[10]="os_ss";
int i=0;
int p=0;
ptr=fopen("os_C.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Operating System Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs Sonali Surve");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void AT_C(){
char pass[10],password[10]="at_rk";
int i=0;
int p=0;
ptr=fopen("at_C.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Automata Theory Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mr.Ravindra Kambli");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void OOP_C(){
char pass[10],password[10]="oop_sp";
int i=0;
int p=0;
ptr=fopen("oop_C.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Object oriented programming Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs Shobha Patil");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void SE_C(){
char pass[10],password[10]="se_rp";
int i=0;
int p=0;
ptr=fopen("se_C.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Software Engineering Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs Ranjita Patil");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void menu6(){
int op_tion;
back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\n\t\t\t\t !!! CHOOSE DIVISION!!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\n\t\t\t\t Choose the following option:");
printf("\n\n\n\t\t\t\t 1->DIVISION A");
printf("\n\n\n\t\t\t\t 2->DIVISION B");
printf("\n\n\n\t\t\t\t 3->DIVISION C");
printf("\n\n\n\t\t\t\t 4->Main Menu");
printf("\n\n\n\t\t\t\t Enter your opnion:");
scanf("%d",&op_tion);
if(op_tion==1)
{
system("cls");
faculty();
}
else if(op_tion==2)
{
system("cls");
faculty_B();
}
else if(op_tion==3)
{
system("cls");
faculty_C();
}
else if(op_tion==4)
{
system("cls");
menu();
}
else
{
printf("\n\n\n\t\t\t Invalid input Reenter again");
goto back;
}
}
void OS_B(){
char pass[10],password[10]="os_ssk";
int i=0;
int p=0;
ptr=fopen("os_B.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Operating System Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs Shatakshi .S.Kokate");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void AT_B(){
char pass[10],password[10]="at_rd";
int i=0;
int p=0;
ptr=fopen("at_B.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Automata Theory Feedback Data :");
//scanf("%s",pass);while(1)
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs Radhika Dhanal");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void CN_2_B(){
char pass[10],password[10]="cn2_ajj";
int i=0;
int p=0;
ptr=fopen("cn_2_B.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Computer Networking II Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mr Aappasaheb Jadhav");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void OOP_B(){
char pass[10],password[10]="oop_ktm";
int i=0;
int p=0;
ptr=fopen("oop_B.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Object Oriented programming Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs K.T.Mane");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void SE_B(){
char pass[10],password[10]="se_dp";
int i=0;
int p=0;
ptr=fopen("se_B.txt","r");
int ch=getc(ptr);
system ("color 9");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! SECURITY CHECK!!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n\n\n\n\t\t\tEnter the unique code password to see Software Engineering Feedback Data :");
//scanf("%s",pass);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! ");
printf("\n\n\n\t\t\t !!! FEEDBACK SUBMITTED BY STUDENTS !!! ");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n");
printf("\n");
printf("\t\t\tFaculty Name:Mrs Dhanashree patil");
printf("\n\nName class DIV Roll NO Avg(marks)Feedback\n");
while(ch!=EOF)
{
putchar(ch);
ch=getc(ptr);
}
add_invalid:
printf("\n\n\n\t\tEnter 1 to go to the login menu and 0 to exit:");
scanf("%d",&main_exit);
system("cls");
if (main_exit==1)
menu();
else if(main_exit==0)
close();
else
{
printf("\nInvalid!\a");
goto add_invalid;
}
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
CN_2();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
}
void signup()
{
char a[20];
char b[20];
char n[100];
char r;
int p=0;
int i,f,fl;
int option25;
rdbu=fopen("super4_usrnm.txt","a+");
rdbp=fopen("super4_pwd.txt","a+");
behind:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\n\t\t\t\t !!! REGISTRATION SECTION !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\nSign Up: ");
//printf("\n\n[press the equivalent number/character to proceed]");
printf("\n\n\n\n\nCreate Username: ");
//gets(a);
scanf("%s",a);
for(i=0;i<=sizeof(n);i++)
{
fscanf(rdbu,"%s",&n);
r=strcmp(a,n);
if(r==0)
{
f=1;
}
}
if(f==1)
{
printf("\n\n\t\tUsername Already exist");
fordelay(1000000000);
goto behind;
}
else
{
printf("\n\nCreate Password: ");
//gets(b);
//scanf("%s",b);while(1)
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
b[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
b[p]=temp2;
p++;
printf("*");
}
}
}
//printf("\n\n\nR:Register\n");
//scanf("%c",&r);
//if(r=='R')
//{
fputs(a,rdbu);
fputs("\n",rdbu);
fputs(b,rdbp);
fputs("\n",rdbp);
fclose(rdbu);
fclose(rdbp);
back120:
printf("\n\n\t\tEnter 1 to go to main menu:");
scanf("%d",&option25);
if(option25==1)
{
system("cls");
student();
}
else
{
printf("\n\n\t\tInvalid choice Reenter again:");
goto back120;
}
//}
}
void signin()
{
FILE *rdbu,*rdbp,*pointer1;
rdbu=fopen("super4_usrnm.txt","a+");
rdbp=fopen("super4_pwd.txt","a+");
pointer1=fopen("roll_no_SY.txt","a+");
int option;
char n[100];
char a[20];
char b[10];
char m[10];
char roll_no[10];
int i,r,f,fl;
char s;
int op;
int p=0;
back1:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\n\t\t\t\t !!! LOGIN SECTION!!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\nSign In: ");
printf("\n\n\tEnter Your Roll no :");
scanf("%s",roll_no);
for(i=0;i<=sizeof(n);i++)
{
fscanf(pointer1,"%s",&n);
r=strcmp(roll_no,n);
if(r==0)
{
f=1;
}
}
if(f==1)
{
printf("\n\n\t\tYou have given the feedback");
behind100:
printf("\n\t\tEnter 1 to go to main Menu");
scanf("%d",&option);
if(option==1)
{
system("cls");
menu();
}
else
{
system("cls");
printf("\n\n\tReenter again");
goto behind100;
}
}
else
{
printf("\n\t\t\tYou can proceed to login");
}
//printf("\n\n[press the equivalent number/character to proceed]");
printf("\n\n\n\n\nEnter Username: ");
//gets(a);
scanf("%s",a);
for(i=0;i<=sizeof(n);i++)
{
fscanf(rdbu,"%s",&n);
r=strcmp(a,n);
if(r==0)
{
f=1;
}
}
if(f==1)
{
printf("\n\nEnter Password: ");
//gets(b);
//scanf("%s",b);
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
b[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
b[p]=temp2;
p++;
printf("*");
}
}
for(i=0;i<=sizeof(n);i++)
{
fscanf(rdbp,"%s",&n);
r=strcmp(b,n);
if(r==0)
{
fl=1;
}
}
}
else
{
system("cls");
printf("\nusername doesn't exists!!!");
//system("cls");
goto back1;
}
fclose(rdbu);
if(fl==1)
{
//printf("\n\nC:Continue");hhhhhhhh
system("cls");
back:
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!!");
printf("\n\n\n\t\t\t\t !!! FEED BACK SECTION !!!");
printf("\n\t\t\t _________________________________________________________");
printf("\n\t\t\t _________________________________________________________");
printf("\n\n\n\t\t\t\t Choose the following option:");
printf("\n\n\n\t\t\t\t 1->Faculty Feedback Form");
printf("\n\n\n\t\t\t\t 2->College Feedback Form");
printf("\n\n\n\t\t\t\t 3-->Main Menu");
back300:
printf("\n\n\n\t\t\t\t Enter 1 to proceed:");
scanf("%d",&op);
if(op==1)
{
system("cls");
//printf("\nWelcome %s",name);
menu3();
// menu2();
}
else if(op==2)
{
//printf("\nWelcome %s",name);
//college_feedback();
printf("\n\n\t\tThe College Feedback Form Is only Acessible After Submitting Faculty Feedback Form");
goto back300;
}
else if(op==3)
{
system("cls");
menu();
}
else
{
printf("Invalid input re-enter again");
fordelay(1000000000000000000);
system("cls");
goto back;
}
}
else
{
system("cls");
printf("\nincorrect password!!!");
goto back1;
}
fclose(rdbp);
fclose(pointer1);
}
void date1()
{
time_t t;
t = time(NULL);
struct tm tm = *localtime(&t);
printf("Date: %d-%d-%d", tm.tm_mday, tm.tm_mon + 1, tm.tm_year + 1900);
}
void time1()
{
time_t t;
t = time(NULL);
struct tm tm = *localtime(&t);
tm = *localtime(&t);
printf(" Time: %d:%d", tm.tm_hour, tm.tm_min);
}
int main()
{
char pass[10],password[10]="enter";
int i=0;
int p=0;
system ("color 9");
printf("\n\t");
date1();
printf("\t\t\t\t\t\t\t\t\t");
time1();
//printf("\n\n\n\t\t\t\t ");
printf("\n\n\t\t________________________________________________________________________________");
printf("\n\t\t________________________________________________________________________________");
printf("\n\n\t\t\t\t !!!! STUDENT FACULTY FEEDBACK SYSTEM !!!! \n\n\t\t\t\t\t !!! MANDATORY USER LOGIN !!!");
printf("\n\t\t\t __________________________________________________________");
printf("\n\t\t\t __________________________________________________________");
printf("\n\n *[Any query related to the login password\n contact your DIV Class CO-ORDINATOR]");
printf("\n\n\n\n\n\t\t\t\tEnter the password to login in the system :");
//scanf("%s",pass);
//int p=0;
while(1)
{
temp2=getch();
if(temp2==ENTER)
{
pass[p]='\0';
break;
}
else if(temp2==BKSP)
{
if(p>0)
{
p--;
printf("\b \b");
}
}
else if(temp2==TAB||temp2==SPACE)
{
continue;
}
else
{
pass[p]=temp2;
p++;
printf("*");
}
}
if (strcmp(pass,password)==0)
{
printf("\n\n\n\nPassword Match!\n\nLOADING");
for(i=0;i<=6;i++)
{
fordelay(100000000);
printf(". ");
}
printf("\n");
system("pause");
system("cls");
menu();
}
else
{ printf("\n\nWrong password!!\a\a\a");
login_try:
printf("\nEnter 1 to try again and 0 to exit:");
scanf("%d",&main_exit);
if (main_exit==1)
{
system("cls");
main();
}
else if (main_exit==0)
{
system("cls");
close();
}
else
{
printf("\nInvalid!");
fordelay(1000000000);
system("cls");
goto login_try;
}
}
return 0;
}