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
Get step-by-step solutions from verified subject matter experts
