Question: CS - 2 8 2 0 : Programming Practices using linux table [ [ , Question,Possible points, ] , [ , Q 1 ,
CS: Programming Practices
using linux
tableQuestion,Possible points,QQTotal,
tableLate submissions Policy:For the first days after the submission deadline, there will be a penalty of deducted per day. Afterthe th day, no late submission would be accepted.
Q points
Write a C program to perform the following:
Read a number from the user.
Print out a message indicating if the entered number is a prime number or not. If not prime it prints out its factors dividing the number ie a number has factors:
Q points
Create a makefile to be used with the make command for the following project files to compile only the files that need recompilation ie the source files that don't have a o object file generated for them yet instead of recompiling every file to build the executable:
Source files:
A functions.h that contains the declaration of:
void mathfunction void mathfunction void stringfunction void stringfunction
A mathfunctions.c that contains the implementations of the math functions: mathfunction mathfunction
A stringfunctions.c that contains the implementations of the string functions: stringfunction stringfunction
A main function that exists in the main.c file that include functions.h
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
