Programming Challenge: Test Average CalculatorUsing a variable length array, write a C program that asks the user to enter test scores.Then, the program should calculate the average, determine the lowest test score, determine the letter grade, and display all three.

Answers

Answer 1

Answer:

well you could use variables in C and display them

Explanation:


Related Questions

What is the absolute pathname of the YUM configuration file? REMEMBER: An absolute pathname begins with a forward slash

Answers

Answer:

/etc/yum.conf

Explanation:

The absolute pathname for YUM is /etc/yum.conf. The configuration file For yum and related utilities can be found there. The file has one compulsory section, and this section can be used to place Yum options with global effect, it could also have one or more sections, that can enable you to set repository-specific options.

You are a project manager for Laredo Pioneer's Traveling Rodeo Show. You're heading up a project to promote a new line of souvenirs to be sold at the shows. You are getting ready to write the project management plan and know you need to consider elements such as policies, rules, systems, relationships, and norms in the organization. Which of the following is not true? A These describe the authority level of workers, fair payment practices, communication channels, and the like. B This describes organizational governance framework. C This describes management elements. D This is part of the EEF input to this process.

Answers

Answer:

A. These describe the authority level of workers, fair payment practices, communication channels, and the like.  

Explanation:

As seen in the question above, you have been asked to write the project management plan and know that you need to consider elements such as policies, rules, systems, relationships and standards in the organization. These elements are part of EEF's entry into this process, in addition they are fundamental and indispensable for the description not only of the organizational governance structure, but also describe the management elements that will be adopted and used.

However, there is no way to use them to describe the level of authority of workers, fair payment practices, communication channels and the like, as this is not the function of this.

3.16 (Gas Mileage) Drivers are concerned with the mileage obtained by their automobiles. One driver has kept track of several tankfuls of gasoline by recording miles driven and gallons used for each tankful. Develop a program that will input the miles driven and gallons used for each tankful. The program should calculate and display the miles per gallon obtained for each tankful. After processing all input information, the program should calculate and print the combined miles per gallon obtained for all tankfuls. Here is a sample input/output dialog:

Answers

Answer:

I am writing a C program.

#include <stdio.h> // for using input output functions

#include <stdbool.h> // for using a bool value as data type

int main() { // start of the main() function body

 int count=0; //count the number of entries

 double gallons, miles, MilesperGallon, combined_avg, sum; //declare variables

 while(true) {// takes input gallons and miles value from user and computes avg miles per gallon

      printf( "Enter the gallons used (-1 to stop): \n" ); //prompts user to enter value of gallons or enter -1 to stop

      scanf( "%lf", &gallons );//reads the value of gallons from user

   if ( gallons == -1 ) {// if user enters -1

     combined_avg = sum / count; //displays the combined average by dividing total of miles per drives to no of entries

     printf( "Combined miles per gallon for all tankfuls:  %lf\n", combined_avg ); //displays overall average value  

     break;} //ends the loop

     printf( "Enter the miles driven: \n" ); //if user does not enter -1 then prompts the user to enter value of miles

     scanf( "%lf", &miles ); //read the value of miles from user

MilesperGallon = miles / gallons; //compute the miles per gallon

printf( "The miles per gallon for tankful:  %lf\n", MilesperGallon ); //display the computed value of miles per gallon

  sum += MilesperGallon; //adds all the computed miles per gallons values

   count += 1;  } } //counts number of tankfuls (input entries)

Explanation:

The program takes as input the miles driven and gallons used for each tankful. These values are stored in miles and gallons variables. The program calculates and displays the miles per gallon MilesperGallon obtained for each tankful by dividing the miles driven with the gallons used. The while loop continues to execute until the user enters -1. After user enters -1, the program calculates and prints the combined miles per gallon obtained for all tankful. At the computation of MilesperGallon for each tankful, the value of MilesperGallon are added and stored in sum variable. The count variable works as a counter which is incremented to 1 after each entry. For example if user enters values for miles and gallons and the program displays MilesperGallon then at the end of this iteration the value of count is incremented to 1. This value of incremented for each tankful and then these values are added. The program's output is attached.

A hotel salesperson enters sales in a text file. Each line contains the following, separated by semicolons: The name of the client, the service sold (such as Dinner, Conference, Lodging, and so on), the amount of the sale, and the date of that event. Write a program that reads such a file and displays the total amount for each service category. Display an error if the file does not exist or the format is incorrect.

Answers

Answer:

Life can get busy and hectic, but relationships matter. What is an effective way of mending relationships that may have had been neglected?Life can get busy and hectic, but relationships matter. What is an effective way of mending relationships that may have had been neglected?

Explanation:

Life can get busy and hectic, but relationships matter. What is an effective way of mending relationships that may have had been neglected?Life can get busy and hectic, but relationships matter. What is an effective way of mending relationships that may have had been neglected?Life can get busy and hectic, but relationships matter. What is an effective way of mending relationships that may have had been neglected?Life can get busy and hectic, but relationships matter. What is an effective way of mending relationships that may have had been neglected?Life can get busy and hectic, but relationships matter. What is an effective way of mending relationships that may have had been neglected?

Identify five key technologies/innovations and discuss their advantages and disadvantages to developing countries like Ghana.​

Answers

Answer:

The key technology/ innovation advantage and disadvantage can be defined as follows:

Explanation:

Following are the 5 innovations and technology, which promote the other development goals, like renewable energy, quality of jobs, and growth of economic with the good health and very well-being:

1) The use of crop monitoring drone technology promotes sustainable farming.  

2) The production of plastic brick including highways, floors, and houses.  

3) The new banking market or digital banking.  

4) E-commerce site.    

5) Renewable energy deployment such as solar panels.  

Advantage:

It simple insect control, disease, fertilizer, etc.   It helps in aid in environmental purification and job formation.It is also fast and easy,  Funds are transferred extremely easily through one account to another.  Minimal prices, quick customer developments, and competition in the industry.  It saves them money in the medium-haul, less servicing.

Disadvantage:

The drones are too expensive to use, so poor farmers can be cut off.  Specialist technicians and gaining popularity are required.  The financial services data can be distributed through many devices and therefore become more fragile.  The personal contact loss, theft, security problems, etc. The higher operating costs, geographical limitations, and so on.

What is a what if analysis in Excel example?

Answers

Answer:

What-If Analysis in Excel allows you to try out different values (scenarios) for formulas. The following example helps you master what-if analysis quickly and easily.

Assume you own a book store and have 100 books in storage. You sell a certain % for the highest price of $50 and a certain % for the lower price of $20.

(i really hope this is what u needed)

Steve wants to take charge of his finances. To do so, he must track his income and expenditures. To accurately calculate his take-home pay, Steve must use his __________.

Answers

Answer:brain

Explanation:

to think

Other Questions
Pls help with this question thank u all The side length of the cube is s. Find the domain of the volume of the cube. Research the villi of the small intestine and describe the similarities of your paper towel experiment and the intestinal villi. A uniform string of length 10.0 m and weight 0.32 N is attached to the ceiling. A weight of 1.00 kN hangs from its lower end. The lower end of the string is suddenly displaced horizontally. How long does it take the resulting wave pulse to travel to the upper end Golden Corp.'s current year income statement, comparative balance sheets, and additional information follow. For the year, (1) all sales are credit sales, (2) all credits to Accounts Receivable reflect cash receipts from customers, (3) all purchases of inventory are on credit, (4) all debits to Accounts Payable reflect cash payments for inventory, (5) Other Expenses are all cash expenses, and (6) any change in Income Taxes Payable reflects the accrual and cash payment of taxes.GOLDEN CORPORATION Comparative Balance Sheets December 31Current Year Prior YearAssets Cash $167,000 $110,300 Accounts receivable 87,500 74,000 Inventory 605,500 529,000 Total current assets 860,000 713,300 Equipment 343,000 302,000 Accum. depreciationEquipment (159,500) (105,500) Total assets $1,043,500 $909,800 Liabilities and Equity: Accounts payable $93,000 $74,000 Income taxes payable 31,000 26,600 Total current liabilities 124,000 100,600 Equity: Common stock, $2 par value 595,600 571,000 Paid-in capital in excess of par value, common stock 201,400 164,500 Retained earnings 122,500 73,700 Total liabilities and equity $1,043,500 $909,800 GOLDEN CORPORATION Income Statement For Current Year Ended December 31Sales $1,807,000 Cost of goods sold 1,089,000 Gross profit 718,000 Operating expenses Depreciation expense $54,000 Other expenses 497,000 551,000 Income before taxes 167,000 Income taxes expense 26,200 Net income $140,800 Additional Information on Current Year Transactions:Purchased equipment for $41,000 cash.Issued 12,300 shares of common stock for $5 cash per share.Declared and paid $92,000 in cash dividends. Required:Prepare a complete statement of cash flows: report its cash inflows and cash outflows from operating activities according to the indirect method. A bicycle is on sale price for $300 it can be brought through a hire purchase with a deposit of $60 and 10%interest the outstanding balance, to prepaid in 10 monthly installments calculate:a)the amount of each monthly instalmentb)the total cost of buying the bicycle by hire purchase help plsssssssssssss Explain how the interquartile range of a data set can be used to identify outliers. The interquartile range (IQR) of a data set can be used to identify outliers because data values that are less than equal to greater than IQR Upper Q 3 minus 1.5 (IQR )Upper Q 3 plus IQR Upper Q 3 plus 1.5 (IQR )or less than equal to greater than IQR Upper Q 1 plus 1.5 (IQR )Upper Q 1 minus IQR Upper Q 1 minus 1.5 (IQR )are considered outliers. At a birthday party, each child is given some chocolates. There are five 5-year-olds, five 6-year-olds and five 7-year-olds at the party. If each child receives three times as many chocolates as their age in years, how many chocolates are given out altogether? Question 1 (Multiple Choice Worth 1 points)(03.03 MC)Which of the following correctly describes theme in a work of fiction?Each paragraph has its own theme.Good writers do not reveal a theme.There can be several themes in a single story.Usually there is only one theme per story. The comparative cash flow statements from Sears and Wal-Mart are presented above. Amounts presented are in millions. Review both statements considering what you've learned in this chapter about the cash flow statement. Answer the following questions: When analyzing a company's cash flow statement, which section of the statement (operating, investing or financing) do you believe is the best predictor of a company's future profitability? Why? Which company do you believe is healthier based on the cash flow statements presented? Provide at least two specific examples from the statements. Your initial post is due four (4) days prior to the discussion due date or points will be deducted from your discussion score. Please review the discussion board requirements above. What is the next term of the geometric sequence? 1, 2, 4, 8, 16, Can someone help me with the question please A plant asset is acquired by a business on January 2, 20X6, for $10,000. The asset's estimated residual value is $2,000 and it's estimated useful life is 5 years. Management chooses to use straight-line depreciation. On January 2. 20X8. the asset is sold for $5,000. The entry to record the sale has what effect on the financial statements? a. Assets decrease, expenses increase, and net income and owners' equity decrease. b. Assets decrease and owners' equity and expenses both increase. c. Has no effect on the financial statements if the journal entry is in balance. d. Assets increase, expenses decrease, and net income and owners' equity increase. Asia pacific and Japanese sales team from cloud kicks have requested separate report folders for each region.The VP of sales needs one place to find the reports and still wants to retain visibility of the reports in each folder. What should a consultant recommended to meet this requirement. A researcher wants to obtain a sample of 30 preschool children consisting of 10 two-year-old children, 10 three-year-old, and 10 four-year-old children. Assuming that the children are obtained only from local daycare centers, this researcher should use ____ sampling.` Cluster probability quota simple random stratified random Noah tried to prove that cos()=sin() using the following diagram. His proof is not correct. Which figure will tessellate the plane? A. regular pentagon B. regular decagon C. regular octagon D. regular hexagon fleur wants to make tables and chairs. She has a total of 150 wooden boards and 330 nails. 17T + 6C 150 represents the number of tables T and chairs C she can make with 150 Wooden boards. 34T + 27C 330 represents the number of tables and chairs she can make with 330 nails. Does Fleur have enough boards and nails to make 3 tables and 9 chairs? Choose 1 answer: (Choice A) Fleur has enough boards and nails. (Choice B) Fleur has enough boards but not enough nails. (Choice C) Fleur has enough nails but not enough boards. (Choice D) Fleur has neither enough boards nor enough nails. Connor has a collection of dimes and quarters with a total value of $6.30. The number of dimes is 14 more than the number of quarters. How many of each coin does he have?