student faculty feedback system project in c programming

 “Student Faculty Feedback System”


1.INTRODUCTION:

Student Faculty Feedback System the objective of project on Student Faculty Feedback System is to manage details of the student, Faculty and Feedback provided by students about the faculty and college Environment. It will manage this all information properly. Since this is very important system about college and information stored which is crucial so the system will be securely built which will be accessible to administrator and access provided by him.

We have developed Student Feedback System to provide feedback in easy and quick manner to the particular subject teachers of each department in college. So we call it as Student Faculty Feedback System which delivers via student staff interface as online system which acting as service provider. By using this technology we can give feedback in online system as fast as compare to existing paper feedback system.

Here, students should be told how feedback will be submitted, when and how result will be published, and their contribution is important and taken seriously.


2.PROBLEM STATEMENT:

To develop an Student Faculty feedback system which will be specially designed for the college students in which students will be able to access the system according to their division and roll no and they will be able to provide their feedback to their respectful faculties along with the college feedback

➢ The faculties as well as the college administration will be able to able to access the feedback of the individual students of individual subject along with college feedback

➢ We Have developed a system which acts as easy and convenient interface between college and students

3. Objective:

1.Detailed feedback will help faculties understanding scope of improvement in their teaching

2.Students can Give easy and fast faculty and college feedback

3.Proposed system can help college administration for improvement in college environment

3.This system will make colleges decision process regarding their faculties easy.

4.Regardless the physical system this system will store and manage students data effectively and securely

5.Proposed system is used to reduce confusion at time of processing feedback average. since average feedback is already calculated

6. Teachers gain comprehensive insight into how their students are learning and responding to teaching practices

4.CONTROL FLOW DIAGRAM:


5.Algorithm/Steps:

step1:Enter the system by entering a password and enter main menu

Student Feedback Section:

step1:Enter your login credentials to login to system

step2:For new user/student enter to reg section and reg urself with your appropriate academic details

step3:Done Reg Go back to step 1

step4:Choose your appropriate division from A B C

step5:Enter your appropriate div section and give feedback for all subjects

step6:Enter college Feedback section and give college feedback and complete it

step7:Return to main menu and exit

Faculty section:

step 1:Enter the faculty section

step 2:Choose the appropriate div of which you are teaching in

step 3:Names of all faculties teaching in that div appears

step 4:Choose the option with your appropriate name and subject

step 5:Enter the security code to enter the section

step 6:View detail feedback submitted by students

step 7: Back to main menu & exit

college section:

step 1:Enter the College section by entering a appropriate login password

step 2:two option of to view faculty feedback and college feedback appears

step 3:Choose any one option

step 4:For viewing faculty feedback all steps similar to the Faculty section

step 5:For viewing college feedback enter the college feedback section

step 6:View Feedback submitted about college by students

step 7:Return to main menu and exit

6.Function and Constructs:

1) Student Feedback Section: This module will deal with all the activities related to students

• Student Login: In this students can login and give their preferable feedback about the faculty and college environment

• Student Registration: If the student is not registered in system in this module he can create his account by providing valid details and then give feedback

2) Faculty section: This module will be accessible only to faculty member to view the feedback give by the student using a unique password

3) College Administrator Section: The Feedback given by the Student for the Betterment of college and about college facilities can be seen in this module and also the Faculty Feedback can be seen.

• View Faculty Feedback: This module will be accessible only to College Administration to view the feedback give by the student using a unique password

• View College Feedback: This Module will provide the college admin to view the feedback provided by the students about college environment

program:

#include <stdio.h>
#include<windows.h>
#include <stdbool.h>
#include <stdio.h>
#include<string.h>
#include<conio.h>
#include<time.h>
int main_exit;
void close();
int i,j;
/*FILE *fp,*fi,*ch,*pr,*ur,*pp,*fp,*ch,*fi;
char ui[20];
int a,an,ch2,ch1;
char name[10],password[20],password1[20];
char surname[10],mobile[10];
int ch2=0,a,ab,gender,ans,ans2;
char data[20],question[10],ansquestion[10];*/
#define ENTER 13
#define TAB 9
#define BKSP 8
#define SPACE 32
//void box(int,int,int,int);
int main_choice;
//void signin();
//void signup();
//void change();
/*void chp(char [],char []);
void chu(char []);
void chpp(char []);*/
void security(char []);
//void box(int, int ,int,int );
void information(char[]);
//void addition(char[]);
FILE *fp,*fi,*ch,*pr,*ur,*pp,*fp,*ch,*fi,*ptr,*ptr1,*ptr2,*ptr3,*ptr4,*ptr5,*ptr6;
FILE *rdbu,*rdbp;
int strle;
int i;
char passnu[8];//medical[50];
//char gar1[20],upi[10];
int ans,ans2;
char data[20],question[10],ansquestion[10];
/*char passport1[8];
char passnu2[8];
char pass3[20];
char passnum[8];*/
char ui[20];
char user[20];
int a,an,ch2,ch1;
char temp[20],temp2;
char name[10],password[20],passnu[8];
char surname[10],mobile[10];
char passnumber[8],password[20],password1[20];
int ch2=0,a,ab,gender,ans,ans2;
char genderc[7];
//char passportnumber[8],aadharnumber[12];
//char passport[8],aadhar[12];
//char credit[19],debit[19],cardmon[2],cardyear[4],cvv[3];
int yes;//,nation;
int option;
int answer1,answer2,answer3,answer4,answer5;
void os1()
{

    int choice;
    int choice1;
    int choice2;
    int choice3;
    ptr=fopen("os.txt","a+");
    ptr1=fopen("at.txt","a+");
    ptr2=fopen("cn2.txt","a+");
    ptr3=fopen("oop.txt","a+");
    ptr4=fopen("se.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]="A",div2[10]="a";
    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 A 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<1 || roll_no>82)
    {
       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.V.shinge");
    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();
    else
        {
            printf("\nInvalid! Enter again\a");
            goto add_invalid;
        }


    }



void at()
{
    ptr1=fopen("at.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 Ketaki.A.Bhosale(Class Co-ordinator)");
    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();
    else
        {
            printf("\nInvalid! Reenter again\a");
            goto add_invalid;
        }

}
void cn_2()
{
    ptr2=fopen("cn2.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.Vinit.A.Shevade");
    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();
    else
        {
            printf("\nInvalid!\a");
            goto add_invalid;
        }

}
void oop()
{
    ptr3=fopen("oop.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 Shatakshi.S.Kokate");
    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()
{
    ptr4=fopen("se.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:Dr.B.D.Jitkar");
    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 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;
}


out put:





























Post a Comment

Previous Post Next Post