Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 ) Worth 0 . 2 5 points. a ) Include the following header in every program: * * * * * * * *
Worth points.
a Include the following header in every program:
Author : Your Name
Course : COP Sec ANSI C Online
Professor : Michael Robinson
Program # : Program PurposeDescription
A brief description of the program
Due Date : MMDDYYYY
Certification:
I hereby certify that this work is my own and none of it is the work of any other person.
your signature
Worth points
a Create and call a function called numericalComputations
without passing any parameters
b In the function, assign the value to the int maximunNumber
c Display EACH result for EACH of the following computations:
maximunNumber using printf and
maximunNumber using printf and t
maximunNumber using printf and
maximunNumber using printf and t
maximunNumber using printf and
This means:
compute maximunNumber with then maximunNumber with maximunNumber with
This function will have a total of printf statements
Worth points
a Create and call a function called sumOfNumbers without passing any parameters
b In the function, assign the value to the int N
c Using the sum of numbers formula: NN
print the total amount of the sum of digits from to
To find the sum of all the numbers from to
the formula NN will do it
That is: plus N quantity times N divided by
Worth 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.
This class's name is
Worth points
a Do the same problem as question using a for loop.
b Do the same problem as question using a while loop.
c Find and print the sum of all numbers from to using a for loop,
displaying "The sum of all numbers from to is
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started