Question: using ubuntu linux: write a bash script that reads a c file submitted from the user(user writes c code to find the factorial of 5),

using ubuntu linux: write a bash script that reads a c file submitted from the user(user writes c code to find the factorial of 5), the bash script should execute the code of the submitted file, get the final output, compare it with the correct answer and give it a grade based on if its true or not. please test the script by submitting a c file and provide screenshots of execution.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!