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

  Program to compute gross wages for employee using array

Write program which uses the following arrays: payRate: array of seven floats to hold each employee's hourly pay rate. wages: array of seven floats to hold each employee's gross wages.

  Implement a simplified version of the set class

You will implement a simplified version of the set class. You must implement all functions defined in the provided file set.h. You may add other member functions and variables as necessary.

  Change this code to read in strings from a text file

code takes in a string from a user, checks if the paranthesis are ballanced (as defined by my class) and also returns the variable from my line (also from my class). All like to change this code to read in strings from a text file (each line is a str..

  Write a full program that implements the aggregation concept

Write a full program that implements the aggregation concept for the Mail Message, Header , Body and Attachment classes.

  Program that asks the user to enter the number of miles

Write a C - program that asks the user to enter the number of miles traveled and the number of gallons of gasoline consumed. It should then calculate and display the miles-per-gallon value. Confine your output to 1 decimal place.

  Make 2-dimensional array

make 2-dimensional array a bit of life and bringing them from the abstract to the concrete realms

  Reads a line of characters from the user

Write a segment of code (not an entire program) that reads a line of characters from the user and outputs "too long" if the user enters more than 5 characters (not counting hitting the enter/return key).

  Initialize an array and fill the array with the gpa values.

Write a program in java that asks user input (using a loop) for name of 10 student and the corresponding grade point averages (GPAs). Initialize an array and fill the array with the GPA values.

  Program reads a number and prints all of its binary digit

Write a program that reads a number and prints all of its binary digits. Print the remainder number % 2, thenreplace the number with number / 2. Keep going until the number is 0.

  What constructors do and when they are executed

Explain what constructors do and when they are executed. Explain the two types of constructors. Provide an example class that includes both types of constructor functions and demonstrate how an object would be instantiated using both types of constru..

  Coinflip to prompt for and input a number

Write a program and name it CoinFlip to prompt for and input a number of times to flip a coin, then to output the number of "heads" and the number of "tails" that were flipped.

  Computer programming techniques

Construct a program from a design and use appropriate functions

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