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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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