Program read data from input file and select specified items

Assignment Help Programming Languages
Reference no: EM1382528

The input of this program will be file in which each line represents one person. Person's name is first, followed by comma. After that, separated by spaces, are age and single-character code (M or F) for gender. This file contains records of people of all ages and both genders. You work for school system which requires to make one file comprising names of males of school age (5...18) and another for females of school age. Program should be able to read data from input file and select the specified items. Write data for school-age males to file male.out and data for school-age females to female.out. Log bad data sets on file error.log. Ignore any input data for children younger than 5 and adults older than 18.

Reference no: EM1382528

Questions Cloud

Effective thermal capacity in climates : For energy conservation, materials with a high thermal capacity are effective in climates in which the heat flow through the building envelope is:
Cross in pure breeding green budgie and albino budgie : A cross is made in a pure-breeding green budgie and a pure-breeding albino budgie. What are the genotypes of the parent birds?
How many seconds before plane is directly overhead : A piston, A, has a diameter of 0.74cm. A second piston, B, has a diameter of 2.6 cm. In the absence of friction, determine the force, F, essential to support the 539.7 N weights. Answer in units of N.
Gross sales for the quarter are projected : Gross sales for the quarter are projected as follows: January, $20,000; February, $10,000; and March, $30,000. Accounts receivable on December 31 were $15,000. Larsen's expected cash collections for March would be:
Program read data from input file and select specified items : Program should be able to read data from input file and select the specified items. Write data for school-age males to file male.out and data for school-age females to female.out.
What is the kinetic energy of emitted electrons : A person with perfect pitch sits on a bus bench listening to the 450 Hz horn of an approaching car. If the person detects the frequency of 470 Hz, how fast is the car moving.
Nonradioactive phosphorous for many generations : Phosphorous is needed to synthesize the deoxyribonucleoside thriphosphates used in DNA replication. A geneticist grows some  E. coli  in a medium containing nonradioactive phosphorous for many generations.
What minimum coefficient of friction : In a popular amusement park ride, the rotating cylinder of radius 3.0 m is set in rotation at an angular speed of 7.0 rad/s. The floor then drops away, leaving the riders suspended against the wall in a vertical position.
The pmi code of ethics is made up of four areas : The PMI Code of Ethics is made up of four areas: responsibility, honesty, respect, and fairness. Discuss the area of respect and what it means for you, the project manager.

Reviews

Write a Review

Programming Languages Questions & Answers

  Writing program of long term parking

Write an enitre program about the long term parking, and calculate the parking total fare.

  Program to overload the addition assignment operator

Overload the addition assignment operator (+=), the subtraction assignment operator (-=), and the multiplication assignment operator (*=).

  Program to store highest value using two-dimensional array

Write down a program which uses the two-dimensional array to store highest and lowest temperatures for each month of the year.

  Write program which demands user to enter ten numbers

Write the program which demands user to enter 10 numbers (using an input box) and prints (using a message box) message ‘negative' if number is less than zero.

  Generate an object-oriented design for a system

Generate an object-oriented design for a system that keeps tracks of your CD and DVD collection. Identify each of the classes, associated data, and operations for the classes.

  Advantages of using invisible html table to create web page

What advantages do you see in using an invisible HTML table to structure an entire Web page? What disadvantages does the table structure pose?

  Design logic for a program contains housekeeping

Design the logic for a program that contains housekeeping,detail loop,and end-of-job modules,and that calculates the service of charge customers owe for writing a bad check.

  Design program to list total points scored for classroom

Student ID, classroom number, and score on the achievement test. Design a program that lists the total points scored for each of the 30 classrooms.

  Store normal for each face in array using technique

Use technique of the Astle text to store normal for each face in faceData array enable lighting and add point light source if the light is positioned at the origin

  Write program to instantiate objects of inherited classes

X-Y coordinate pairs for four endpoints of Quadrilateral. Write program which instantiates objects of the classes and outputs each object's area.

  Write function which takes string and returns vowels

Write a function which takes as a parameter an string and returns vowels (a, e, i, o, u). The function prototype should look like:

  Wysiwyg editors can be used to learn html

What about fact that WYSIWYG editors can be utilized to learn HTML? As you can usually jump back and forth from their own image.

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