Create a file values.txt contains the data

Assignment Help Programming Languages
Reference no: EM13763540

Create a file "values.txt" contains the following data: 88 85 89 64 78 85 92 60 91 96 63 59 83 89 74 93 92 92 63 100

You will write a program that will give you the following output:

Lowest Highest Average

59 100 81.8

Grade Distribution

50~59: 1

60~69: 4

70~79: 2

80~89: 6

90~100: 7

Make sure your program is clear with no syntactical errors, correctly uses i/o syntax, correctly uses branching and looping syntax, that it contains functions with correct parameters and return values, that it correctly uses arrays, and that you provide useful comments throughout your program. You must use basic elements of the programming language, use of include files, use of a working main function, declaration and use of data types. You must produce a program that will compile and execute without syntactical errors. You must use input and output mechanisms by processing an input file and saving the contents of the file into an array. You must create and initialize two arrays using the appropriate data type, one array for storing the input data from file, another one for grade distribution. You must be able to access individual array elements and be able to retrieve their information to produce program output. You must use branching mechanisms to include if, else, or switch statements and use looping mechanisms to solve the grade distribution problem. Your program must have four functions: lowest, highest, average, and gradeDistribution. You must include comments explaining your choice of parameters and return types for all of your functions.

Reference no: EM13763540

Questions Cloud

Organization of routing : An organization has a number of tools available when determining how best to address performance issues on their network. The organization can use subnetting or they can use segmentation.
Explain definition of mental retardation disabilities : What you have learned about the use of labels. Explain The evolving definition of mental retardation/intellectual disabilities.
Decreasing levels of photosynthesis : What are the positive and negative effects of wildfires? Are the effects primarily restricted to rural areas, and therefore, of little importance to the bulk of society?
Describe the roles probation and parole officers : Discuss the history of probation and parole in criminal justice and describe the roles probation and parole officers have in the criminal justice system
Create a file values.txt contains the data : Make sure your program is clear with no syntactical errors, correctly uses i/o syntax, correctly uses branching and looping syntax, that it contains functions with correct parameters and return values, that it correctly uses arrays, and that you p..
Osi layer-tcp/ip model : The OSI Layer 3 (Network Layer) is one of the layers that perform packet segmentation. The OSI Layer 3 is roughly equivalent to the Internet Layer of the TCP/IP model and the Layer 4 (Transport Layer) of the OSI model is roughly equivalent to the ..
Evolution the role throughout boxing history : How does an individual become a boxing judge and the evolution the role throughout boxing history? What are the requirements/qualifications to be a judge for a professional boxing bout
Surplus of imports brought into the u.s. : What happens when there is a surplus of imports brought into the U.S.? Cite a specific example of a product with an import surplus, and the impact that has on the U.S. businesses and consumers involved.
Write paper that describe an organizational culture for mnc : Write a 5-7 page paper in which you Describe an organizational culture for your fictional MNC that would ease entry into the given market.

Reviews

Write a Review

Programming Languages Questions & Answers

  Find the date format is valid or not

Display the date and message that indicates whether it is valid. If it is not valid, also display a message explaining why it is not valid.

  Specific changes made for different countries-sites directed

Why were these specific changes made for different countries at whom the sites were directed? Is there anything else you would consider changing.

  Solve the programming problem

Solve the programming problem

  Examine the merits and demerits of using mobile computing

question 1 compare and contrast monitoring of patient vital signs using mobile computing technology to in-patient

  Write function template which accepts array

Write a function template arraySum () which accepts array and number of values stored in it and returns the sum of those values.

  Creating session by granting needed privilege

Make sure that Bob can't create objects greater than 512K in size in USERS01 tablespace. And now that user is created, ensure that Bob can create session, by granting needed privilege.

  Create the logic for the application fast-food resturant

Create the logic for the application which permits a user to enter the ordered item continuosly until sentinel value is entered.

  Design program to asks for number of fat grams

Design a program that asks for the number of fat grams and calories in a food item. Validate the input as follows: Make sure the number of fat grams and calories are not less than 0.

  Create logic for application to produce report

Create the logic for application which produces report which lists each event number, host name, validated date, meal code, entrée name, number of guests.

  Projects for the falling letters game

Design and implement two projects for the Falling Letters game using C# and Windows Presentation Foundation (WPF) template in Visual Studio 2012 or newer.

  Draw and implement class which contains instance data

Draw and Implement the class called "Box" which contains instance data (all doubles) that represents height, width, and depth of the box. Also include boolean variable called "full" as instance.

  Write program to enter numeric values-arithmetic operator

Write a program that lets the user enter 2 numeric values, and an arithmetic operator: +, -, * and /. Write a switch statement that displays the result.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd