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

  Hierarchy of processes

Write a program that creates a hierarchy of processes using the fork() system call.

  What programming language did grace hopper invent

What programming language did Grace Hopper invent. What was the name of the network begun in 1969? What does it stand for

  Write a program that calculates a cars gas mileage

Write a program that calculates a car's gas mileage - The program should ask the user to enter the number of gallons of gas the car hold and the number of miles it can be driven on a full tank.

  Write program for department of motor vehicles

Department of motor vehicles has finally decided to computerize its list of licensed drivers. Program you write must make use of existing file call Licenses with records of given form. Name, License Number

  Creating application to test class rectangle

Write down application to test class Rectangle.

  Invent a fictitious company in one of the given industries

please provide a step-by-step progression toward the desired product.invent a fictitious company in one of the

  Deisgn child class that overrides parent method

Deisgn child class named Box, that contains additional data field named depth and a computeSurfaceArea() method that overrides the parent method appropriately for a three-dimensional box

  Create default constructor which invokes superclass

Create a (default) constructor which invokes superclass constructor with value 3 (law school is typically a three year program).

  Express javascript code that called to validate text-field

Write a JavaScript function to validate a text-field on a form that is to hold an email address.

  Executive committee for alleviating it complexity

You are a consultant brought in by the executive committee to make recommendations for alleviating the "IT complexity" concerns of the executives at the company.

  Matrix multiplication code with mpi

Matrix multiplication code with MPI. At the beginning of each of the programs, write names of group members in the comment line.

  Create program using top-down modular approach

Use top-down modular approach and pseudocode to create suitable program to solve this problem. Validating your input data is also essential.

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