The staffs need a program that can determine

Assignment Help C/C++ Programming
Reference no: EM13166044

The staffs need a program that can determine whether children have been naughty or nice. individual data files(can be any name) for each childred are available that consist of 368(365+3)integer number each, with each entry separated by a space.the first three numbers in each file are the child' day, mouth and year of birth, and the rest areinfividual"naughty or nice"scores for every day of the preceding year. Each"naughty or nice"score is out of 10, 10 being perfectly nice and 0 being completely naught. The first 10 data havebeen pressented below: 13 10 2006 9.8 7.2 8.1 6.5 5.0 9.3 8.2 ....... write a short program that reads one of these files, checks to see if the child is 12 years old or younger on april 15, 2014 and then calculates and print their average behaviour score to the screen. if child is over 12 years old on april 15 2014, no score need be calculated, but an appropriate warning message should be displayed.you may assume any filename you wish for this exercise, but it should be listed as defined value at the top of the program file for easy updating.

Reference no: EM13166044

Questions Cloud

Find x and y such that 401x + 34y = 1. show all calculation : 1. Find x and y such that 401x + 34y = 1. Show all calculation 2. Find all primes p for which (4 1 5 5) is not invertible mod p. (this is supposed to be a matrix).
What is the new water level in the cylinder : A 70.0 silver object and a 40.0 gold object are both added to 45.5 of water contained in a graduated cylinder. What is the new water level in the cylinder?
Sockets are considered a low-level : Sockets are considered a low-level means for two applications to connect to each other and send/receive information. An alternative approach is the notion of distributed objects.
Calculate the mole fraction of the chloroform : The vapor pressure of carbon tetrachloride, , is 0.354 and the vapor pressure of chloroform, , is 0.526 at 316 . A solution is prepared from equal masses of these two compounds at this temperature.
The staffs need a program that can determine : The staffs need a program that can determine whether children have been naughty or nice. individual data files(can be any name) for each childred are available that consist of 368(365+3)integer number each.
State titrant are required to reach the equivalence point : The pH of the HF solution before titrant is added is 1.88 and 43.948 mL of titrant are required to reach the equivalence point.
P, does the congruence x^2 congruent to -1 mod p : 1. For what prime numbers, p, does the congruence x^2 congruent to -1 mod p have exactly 2 solutions mod p. Prove it.
How many physical changes occur : when a mixture at 273 K is heated to 473 K, how many different chemical changes occur? How many physical changes occur?
The function should return a value : The function should return a value of 1 when it is given a valid score to process and 0 when the received value is out side of the 0-10 range. In this case it should print a waring message on the screen

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Uml diagram of all the classes

Speaking of converting into the correct object-type, the goal of the factory is to abstract away object creation.

  Design is known, what advantages does keeping

Given that the design is known, what advantages does keeping the source code unavailable give the company and those who purchase the software? What disadvantages does it cause?

  Write a program for find greatest common divisor

Write code for a recursive implementation of Euclid's algorithm

  Write a menu driven program for an online beef

Write a menu driven program for an online beef distribution company. There are 8 different

  Represent an instruction supported by simpletron

Implementation contains a Simpletron class and several supporting Instruction classes

  In c++, write a program that calculates 10,000 tries.

In C++, write a program that calculates 10,000 tries. These tries are based upon a rat trying to escape from a maze. Keep adding minutes until the rat is free and when he is free that is 1 try so we need 10,000. We start by randomly generating a numb..

  Using array subscript notation

Using array subscript notation, base/offset notation with the array name as the pointer, array notation with  vPtr , and pointer/offset notation with  vPtr , add 3 to the value in the 3 rd element and display that number. (Do not modify the value in ..

  Programmingto compute the volume of water in the cubic feet

Write down an algorithm (Programming in C) in order to compute the volume of water in the cubic feet, flowing through a pipe of diameter d in feet, having a velocity of v feet per second.

  A hierarchical jpeg encode decoder for greyscale images

This project is to develop a program that implements a hierarchical JPEG encoder/decoder for greyscale images.

  Program to output value of tenth component of array

Write a C++ statements to perform the following: Set value of fourth component of array alpha to three times  value of eight component minus 57.

  Implement the vector class using inheritance

Is it better to implement the Vector class using inheritance (is-a relationship) or composition (has-a relationship). In other word, which one of the following gives a better implementation?

  Code to implement a staque

Write a C++ code to implement a Staque. Since the data structure is all about inserting and deleting numbers, it would be a good option to use a linked list to implement Staque.

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