COP 2270 - C FOR ENGINEERS - Program 1d - Worth 10 points Professor: Michael Robinson e-mail : michael.robinson@fiu.edu Web Page : www.cs.fiu.edu/~mrobi002/teaching - Program must be named: yourLastNameFirstLetterOfYourFirstNamepgm1.c - Upload to Canvas your SOURCE CODE when program is due - Program must compile and run per instructions below - Make sure the program is properly documented and aligned uniformally, looking professionally, I will take points off if it not. - Include the following header in every program: ********************************************************************* Author : Your Name Course : COP 2270 Fall2021 Online Professor : Michael Robinson Program # : Program Purpose/Description {A brief description of the program } Due Date : MM/DD/YYYY Certification: I hereby certify that this work is my own and none of it is the work of any other person. ..........{ your signature }.......... /********************************************************************* Purpose of this program: 1) Create first ANSI C program 2) Use multiple Data Types to declare variables, and assign values to them. 3) Use functions, pass parameters. (MAKE SURE THE function NAMES DESCRIBE WHAT THEY DO example: addNumbers) 4) Do calculations and print results, using printf and \n or \t 5) Use remarks to document your program. 6) Use for and while loops How: 1) Worth 3 points a) Create and call a function called numericalComputations(), without passing any parameters b) In the function, assign the value 100 to the int maximunNumber c) Display EACH result for EACH of the following computations: maximunNumber % 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 using printf and \n maximunNumber - 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 using printf and \t maximunNumber + 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 using printf and \n maximunNumber * 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 using printf and \t maximunNumber / 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 using printf and \n This means: compute maximunNumber with 1, then maximunNumber with 2, maximunNumber with 3 ... This function will have a total of 50 print/println/printf statements 2) Worth 2 points a) Create and call a function called sumOfNumbers(), without passing any parameters b) In the function, assign the value 100 to the int N. c) Using the sum of numbers formula: (1 + N)*(N/2) print the total amount of the sum of digits from 1 to 100 To find the sum of all the numbers from 1 to 100 (1 + 2 + 3 + 4 + . . + 100), the formula (1 + N)*(N/2) will do it. That is: (1 plus N quantity) times (N divided by 2). 3) Worth 3 points a) Create variables in the main() function and assign the corresponding values for: b) Your name c) Your mayor d) Amount of credits taken e) Amount of credits taking this semester f) This class's name g) Create and call a function named myInfo(..........), passing the above parameters h) In the function print: Hi my name is .., my major is .., I have completed .. credits, I and taking .. credits, and this class's name is .. 4) Worth 2 points a) Do the same problem as problem 1 using a for loop and b) Do the same problem as problem 1 using a while loop c) Find the sum of all numbers from 1 to 100 using a for loop