subject

Guys help fast please!!

Write a C++ program to prompt the user to input N
positive integers; when the user enters - 1 the
program input will stop and implement the needed
functions (5 points)
• Function to calculate the count of input positive
number.
(5 points)
• Function to calculate the average of even
integers
(5 points)
• Function calculate the max of odd
integers
(5 points)
• Function calculate the sum of integers <=
(5 points)
Output the result of the above
operations
points)
50
HINT
1- Functions should be called by Value
2- Functions should return a value to be used for output in final point.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
In which job role will you be creating e-papers, newsletters and preiodicals
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
question
Computers and Technology, 25.06.2019 04:10
8. create an abstract student class for parker university. the class contains fields for student id number, last name, and annual tuition. include a constructor that requires parameters for the id number and name. include get and set methods for each field; the settuition() method is abstract. create three student subclasses named undergraduatestudent, graduatestudent, and studentatlarge, each with a unique settuition() method. tuition for an undergraduatestudent is $4,000 per semester, tuition for a graduatestudent is $6,000 per semester, and tuition for a studentatlarge is $2,000 per semester. write an application that creates an array of at least six objects to demonstrate how the methods work for objects for each student type. save the files as student.java, undergraduatestudent.java, graduatestudent.java, studentatlarge.java, and studentdemo.java.
Answers: 1
You know the right answer?
Guys help fast please!!

Write a C++ program to prompt the user to input N
positive i...
Questions