Question: Can you please write these in language C for someone with beginner knowledge ( first grader at college ) to understand, thank you. Exercise: Functions

Can you please write these in language C for someone with beginner knowledge (first grader at college) to understand, thank you.
Exercise: Functions Using Math Library
Write a C function which gets base of double type and exponent of integer type as parameters and returns baseexponent
Write a main function to test the above function.
Example: Implement Password Control
First ask the user to specify a 5-digit password. Read and store the user input in a variable named password. Print out that password has successfully been stored.
Next, write a loop that prompts the user to enter their password, which warns the user after 3 wrong attempts. Steps are:
If the user types in the correct password, print out "Login Successfull".
As long as the user types in the wrong password, prompt the user again. After the third wrong attempt, print "Your account has been locked." and terminate your program.
Two Examples with User Input
Sum of First n Numbers
Write a program that prints the sum of the first n(user-input value) integers
Calculating Averages
Write a program that takes n numbers iteratively from the user, in each iteration computing and printing the average of the numbers till that time.
 Can you please write these in language C for someone with

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!