代写C++Object-Oriented Programming 程序作业、World Health Organization (WHO) 作业代写

代写C++Object-Oriented Programming 程序作业、World Health Organization (WHO) 作业代写
Project for Object-Oriented Programming
Project Deliverables
The source code for this project are the following files:
ProjPartA.cpp – your source code program for Part A
ProjPartB.cpp – your source code program for Part B
The grade of your project is determined by the followings:
– Design with class diagrams (20%)
– Programming Style (20%): Style and efficiency of your program (comments are expected in
the source code).
– Correctness (30%): We will verify the correctness of your program by testing it through
– Final Report (30%): The report includes the features of your system, a brief user manual of
your system as well as the source codes of your system.
Specifications
1. The World Health Organization (WHO) compiles data about immunization levels around the
world. The file named “measles.txt” contains data about the level of measles vaccinations
in various countries over time.
Each line of the file contains the following fields, where there is one space between fields:
Country (50 characters)
Income Level (6 characters)
Percent Vaccinated (3 characters)
Region (25 characters)
Year (4 characters)
The “Country” field contains the name of the country.
The “Income Level” field identifies the category assigned to that country by the World Bank:
WB_LI low income
WB_LMI lower middle income
WB_UMI upper middle income
WB_HI high income
The “Percent Vaccinated” field contains an integer number representing the percentage of
children in that country who have received measles vaccine by the age of one.
The “Region” field identifies the region assigned to that country by WHO.
The “Year” field contains the year for which the data was compiled.
2. You will develop the two programs described below. Each program will be in a separate
source code file (the names are given under “Project Deliverables”).
Part A
1. The program in “ProjPartA.cpp” will copy selected lines from “measles.txt” into a
file selected by the user.
a) The program will always read from “measles.txt” (it will not prompt the user for the
name of the input file). If it is unable to open that file, the program will halt.
b) The program will prompt the user for the name of the output file. If that file does not exist,
the program will create it and continue. If that file does exist, the program will discard the
current contents of the file and continue.
c) The program will prompt the user to enter a year, and will copy all lines of “measles.txt”
selected by the user’s response. A line is selected if the user’s response matches the Year field
or any of its prefixes. All lines are selected if the user’s response is any of the values in the set
{“”, “all”, “ALL”}. Note that “” is the empty string.
For example, a line whose Year field contains “1987” would be selected by any of the following
user responses: {“1”, “19”, “198”, “1987”, “”, “all”, “”ALL”}.
2. The output file created by the program will have the same format as the input file (same field
widths and spacing). Note that when the user selects all lines, the output file will be identical to
the input file.
3. The program will display appropriate messages to inform the user about any unusual
circumstances.
Part B
1. The program in “ProjPartB.cpp” will display one summary report to the user.
a) The program will prompt the user to enter the name of the input file. If it is unable to open
that file, the program will prompt the user again until the user enters a valid file name.
b) The program will prompt the user to enter a year, and will then prompt the user to enter an
income level. The income level must be one of the characters in the set {1, 2, 3, 4}, where 1
corresponds to “low income”, 2 corresponds to “lower middle income”, 3 corresponds to “upper
middle income” and 4 corresponds to “high income”.
c) The program will identify all records (lines) in the input file which match the user’s criteria
for year and income level, and the program will display a report with the following information:
The count of records in the input file which match the user’s criteria
The average percentage for those records (displayed with one fractional digit)
The country with the lowest percentage for those records
The country with the highest percentage for those records
The name of the country and the percent of children vaccinated will be displayed for the last two
items (lowest percentage and highest percentage).
2. The program will display appropriate messages to inform the user about any unusual
circumstances.
3. The program will contain the following functions (you may develop additional functions):
open_file() ? file object
process_file( file object ) ? None
The notation above gives the name of each function, the number and type of its argument(s), and
the type of its return value.
a) The function names will be spelled exactly as shown (for example, open_file).
b) Function open_file has no parameters. It returns a file object after prompting the user to
enter the name of the input file (see above).
c) Function process_file has one parameter (a file object). It performs the processing to
read the input file and display the report.
http://www.6daixie.com/contents/15/1372.html

本团队核心人员组成主要包括硅谷工程师、BAT一线工程师,国内Top5硕士、博士生,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。

我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全  汇编语言 硬件编程 软件设计 工程标准规等。其中代写代做编程语言或工具包括但不限于以下范围:

C/C++/C#代写

Java代写

IT代写

Python代写

辅导编程作业

Matlab代写

Haskell代写

Processing代写

Linux环境搭建

Rust代写

Data Structure Assginment 数据结构代写

MIPS代写

Machine Learning 作业 代写

Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导

Web开发、网站开发、网站作业

ASP.NET网站开发

Finance Insurace Statistics统计、回归、迭代

Prolog代写

Computer Computational method代做

因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected]

微信:codinghelp

原文地址:https://www.cnblogs.com/gotome/p/8994988.html

时间: 2024-10-08 15:52:23

代写C++Object-Oriented Programming 程序作业、World Health Organization (WHO) 作业代写的相关文章

CSC72002 Object Oriented Programming

CSC72002 Object Oriented Programming - Assignment 2Weight: 40% of your final markSpecificationsYour task is to complete various exercises in NetBeans, using the Java language, and to submitthese via the MySCU link created for this purpose.Marking cri

Java Object Oriented Programming concepts

Introduction This tutorial will help you to understand about Java OOP'S concepts with examples. Let's discuss about what are the features of Object Oriented Programming. Writing object-oriented programs involves creating classes, creating objects fro

Object Oriented Programming python

new concepts of the object oriented programming : class encapsulation inheritance polymorphism the three features of an object are : identity, state and behaviora class is an abstraction which regroup objects who have the same attributes and the same

CSE210 Advanced Object Oriented Programming

CSE210 Advanced Object Oriented ProgrammingCoursework 2019 Release date: 11th, Mar, 2019Deadline: 12:00PM, 23rd, Apr, 2019 1. DescriptionThe objective of the coursework is to develop a practical application for data processing, analysis and content s

MQF Object Oriented Programming

MQF Object Oriented Programming I Fall 2019Hw2 Due 10/1/2019 before midnightSpecificationsRutgers parking garage management system is required to take care Rutgers University Paringneeds. The system can keep track of all the cars parked in your garag

what's the problem of Object oriented programming

The problem came from the Object itselft.It can divided into two aspect: 1.Everything is an Object: that's not true,lots of so called object is  not object ,it's just a Wrapper.You dont know what it is  ,but you just need one to let  things go on. Sa

面向对象编程Object Oriented Programming(OOP)

把对象作为程序的基本单元,一个对象包含了数据和操作数据的函数. 面向过程的程序设计把计算机程序视为一系列的命令集合,即一组函数的顺序执行.为了简化程序设计,面向过程把函数继续切分为子函数,即把大块函数通过切割成小块函数来降低系统的复杂度. 面向过程的程序设计把计算机程序视为一系列的命令集合,即一组函数的顺序执行.为了简化程序设计,面向过程把函数继续切分为子函数,即把大块函数通过切割成小块函数来降低系统的复杂度. 一:封装(类内的事) 假设我们要处理学生的成绩表,为了表示一个学生的成绩,面向过程的

opp(Object Oriented Programming)

嗯,昨天忙了一天没来及发,过年啊,打扫啊,什么搽窗户啊,拖地啊,整理柜子啊,什么乱七八糟的都有,就是一个字,忙. 好了,废话也不多说,把自己学到的放上来吧.嗯,说什么好呢,就说原型链啊 原型对象 每个javascript对象都有一个原型对象,这个对象在不同的解释器下的实现不同.比如在firefox下,每个对象都有一个隐藏的__proto__属性,这个属性就是"原型对象"的引用. 原型链 由于原型对象本身也是对象,根据上边的定义,它也有自己的原型,而它自己的原型对象又可以有自己的原型,这

[email protected] [355] Design Twitter (Object Oriented Programming)

https://leetcode.com/problems/design-twitter/ Design a simplified version of Twitter where users can post tweets, follow/unfollow another user and is able to see the 10 most recent tweets in the user's news feed. Your design should support the follow