c program

hi I have a homework that needs to be done on visual studio community and it’s exam 4 program 2 attached below make sure to use system”pause” instead of return 0;

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

80 to under 90
70 to under 80
60 to under 70
Under 60
COOL
Lastly
, calculate and print how many of each letter grade was given for the students. That is, how many A’s,
how many B’s, how many C’s, how many D’s, and how many F’s.
Exam 2 Program 2: Write a C program that plays the game of Chuck-A-Luck with the user. Five dice are
rolled. The user bets on a specific number from 1 to 6. Count the number of the five dice that match the
user’s number. If there is at least one matching number, the user wins the number of matching numbers
bet amount. If none of the 5 dice match the user’s number, the user loses their bet. For example, if the user
bets on 4 and the dice come up 2 4 2 45, the user wins two times the bet amount.
*
Exam 3 Program 1: Write a C program which includes the following functions with parameter passing:
Function 1: Allow the user to enter 4 integer values.
Function 2: Print the 4 integer values.
Function 3: Use the return statement to return the largest of the 4 integer values. Print the largest value in
the main.
Function 4: Sort the 4 integer values from low to high. Upon returning to the main, use your print function
to print the 4 integer values in sorted order. Please include comments in this function explaining the
technique you used to perform the sort.
Exam 3 Program 2: Rewrite Exam 2 Program 1 using appropriate functions and parameter passing. You
can include either void or non-void functions. Also, please include a structure chart for your program which
you can either create by hand or on the computer. Your main should consist of only declarations and function
calls.
Exam 4 Program 1: Rewrite Exam 3 Program 2 using a looping statement. You may use either a while
loop, do loop, or for loop. Please include a brief statement in a comment statement in your program stating
the assumptions you made to pick your looping statement. That is, if the loop is deterministic or
indeterministic and if the loop is entrance-controlled or exit-controlled.
Exam 4 Program 2: Write a C program that picks a random number from 1 to 100. Allow the user to guess
the random number by printing if each guess is higher or lower than the random number. If the user cannot
guess the random number in 7 guesses, print out the random number picked. If the user guesses the number
in 7 or fewer guesses, print how many guesses it took the user to guess the random number.
Final Exam Program 1: Write a C program which uses the following functions for an array of 5 names:
a. Load the array from the keyboard
b. Print the array
c. Sort the array in ascending order
d. Print the array again using the same print function from b
e. Allow the user to enter a full name and search for the full name in the array. Print “found” if the full name
is in the array or print “not found” if the full name is not in the array.

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER