Question: use c language in a student level In this project, you need to implement a Course Prerequisite Planner and Campus Route Finder application in C
use c language in a student level In this project, you need to implement a Course Prerequisite Planner and Campus Route Finder
application in C programming language, with the following tasks:
Implement the required code to assist the
st year students to find the shortest path between
specific buildings using Dijkstra algorithm by reading the required information from the
inputbuildings.txt file, the file must initially have the information in the table below, but you
can add more buildings and their distances in the file.
direction Masri Aggad AShaheen Bamieh ALJuraysi Alsadik KNH ShShaheen
Masri
Aggad
AShaheen
Bamieh
ALJuraysi
Alsadik
KNH
ShShaheen
inputbuildings.txt: contains for example contains some buildings, but you can add more buildings.
You must fill in the file with all distances between buildings.
Then you can use either contingency matrix or contingency list to represent the graph and store it in
your program. The user inserts two buildings, then the application will find the shortest route between
them, prints the total distance and the route between the two buildings.
Implement the required code to assist the st year students in computer engineering to sort the
courses they must take using topological sort. The application must load the courses from the
inputcourses.txt file, where this file will contain the courses listed in the table below:
Course Prerequisites
COMP COMP
COMP COMP
COMP COMP
COMP COMP
ENCS COMP
ENCS ENCS
ENCS COMP
ENCS ENCS
ENCS COMP and COMP
ENCS COMP and COMP
inputcourses.txt: contains the list of courses and their prerequisite, below is an example.
COMP# COMP
ENCS# COMP# COMP
Masri#AShaheen#
AShaheen#Aggad# You have to fill in the file with all courses and their prerequisites
Upon request, the application sorts the courses using topological sort and saves them internally in the
program. So the user can print them on request.
Your application must have the following menu:
Load the two files.
Calculate the shortest distance between two buildings.
Print the shortest route between two buildings and the total distance.
Sort the courses using the topological sort.
Print the sorted courses.
Exit the application.In this project, you need to implement a Course Prerequisite Planner and Campus Route Finder
application in C programming language, with the following tasks:
Implement the required code to assist the year students to find the shortest path between
specific buildings using Dijkstra algorithm by reading the required information from the
inputbuildings.txt file, the file must initially have the information in the table below, but you
can add more buildings and their distances in the file.
inputbuildings.txt: contains for example contains some buildings, but you can add more buildings.
You must fill in the file with all distances between buildings.
Then you can use either contingency matrix or contingency list to represent the graph and store it in
your program. The user inserts two buildings, then the application will find the shortest route between
them, prints the total distance and the route between the two buildings.
Implement the required code to assist the year students in computer engineering to sort the
courses they must take using topological sort. The application must load the courses from the
inputcourses.txt file, where this file will contain the courses listed in the table below:
inputcourses.txt: contains the list of courses and their prerequisite, below is an example.
COMP# COMP
ENCS# COMP# COMP
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
