Project translated automatically.
Log in
or
register,
to view the original
Working at an average level of difficulty
The average.Names of the input files must be transferred to the program
when it starts (through the main() function parameter).The source file for the first task can contain both Latin and Russian letters, on one line can be several phrases, possible continuation of the phrase on the next line.The phrases are separated from each other by points, and the words by spaces and signs of intersection.The last phrase in the file may be without
points at the end.Extraction of the content of the record file to perform in the table
Graphics with visually suitable symbols
The only task:
2ndIn the text file is stored the material matrix.to transform it
The following: in each clear line double the elements standing on unnumbered places.ThreeThe components of a binary file are whole numbers.Remove all zero from it.Add the number of negative components to the beginning of the file and the number of positive components to the end.4 .In the file is stored information about the world's resorts: country, city, hotel name, hotel class, one day accommodation cost, price
Passing to both ends.Get information about hotels of a certain class where the cost of accommodation for a week is the lowest.Determine the average
the cost of a week tour to a certain hotel class, including the cost of stay and the cost of the tour.and red.)It is also necessary to read the method.