Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using C programming language solve these problems Problem 1 Prompt user for three numbers. Put them in an array. Make a function ( or find
Using C programming language solve these problems Problem Prompt user for three numbers. Put them in an array. Make a function or find existing ones to Calculate the sum of the three numbers and a function to Calculate the average, call them and then display resultsProblem Above the main functionMake a struct called Employee with attributes for name, hours worked, and pay rate. Make a procedure # This procedure takes the struct address as a parameter. This procedure will Output a greeting to the user and then Prompt user to enter name, number of hours worked and pay rate. and then populates the name, hours worked and pay rate as initializing parameters.Make a procedure # This procedure takes the struct address as a parameter. that will calculate their gross pay multiply number of hours worked by pay rate Have it prints out the name, hours worked and pay rate, and the gross pay you just calculatedMake your main function. In your main function you will declare an employee struct, then pass the struct to procedure # by address and have procedure populate it Then, pass the struct to procedure # by address where procedure # will calculate gross pay and print the name, hours worked and gross pay.Problem Prompt the user for a username and password. Continue to do so until they enter Magic for the username and Kingdom for the password. Problem Prompt the user to enter the replacement cost of a building. Calculate of the value and tell them thats what Allstate is willing to cover.Print answer using two decimal places precision
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