Programming

Programming questions? Ask a programmer for answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

I dont know how to write a program that reads in integers…

Customer Question
I dont know how...

I dont know how to write a program that reads in integers and counts the number of those integers that are less than the average in C++

Technician's Assistant: What programs and versions are you using?

visual studio 2017

Technician's Assistant: What is your ideal outcome? How can we solve this for you?

How to reads in integers until EOF or cin goes bad

Submitted: 11 months ago.Category: Programming
Show More
Show Less
Ask Your Own Programming Question
Answered in 2 hours by:
9/16/2017
Programmer: LogicPro, Computer Software Engineer replied 11 months ago
LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 13,507
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
Verified
Hi
Ask Your Own Programming Question
Was this answer helpful?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a programmerLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
Ask ATLPROG Your Own Question
ATLPROG
ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 7,677
7,677 Satisfied Customers
Experience: MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

ATLPROG is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

13,507 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

848 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
Write a C program to prompt the user to enter random
Write a C program to prompt the user to enter random integers on the keyboard. Your program should read the numbers until the value zero, which indicates the end of file, is reached. The value zero sh… read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
Suppose a course has up to 15 students enrolled and three exams
Suppose a course has up to 15 students enrolled and three exams are given during the semester. Write a program that accepts each student's name and grades as input, places the names in a one dimension… read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
In C++ the largest int value is XXXXXXXXXX So, an integer
In C++ the largest int value is XXXXXXXXXX So, an integer larger than this cannot be stored and processed by the type int. Similarly, the largest long value is 9223372036854775807. Accordingly, if the… read more
Zabo04
Zabo04
Master\u0027s Student
Master\u0027s Degree
7 satisfied customers
Design an algorithm that will prompt for and receive 10
Design an algorithm that will prompt for and receive 10 integers from an operator at a terminal, and then count the number of integers whose value is less than the average value of the integers. Your … read more
neelimark
neelimark
Embedded Software Engineer
Bachelor\u0027s Degree
458 satisfied customers
Develop a program to meet the following requirements: 1.
Develop a program to meet the following requirements: 1. Must use at least two functions, not including Main 2. Must use indirection (the * operator) 3. Must use a loop 4. Must use an array to hold th… read more
LogicPro
LogicPro
Computer Software Engineer
13,507 satisfied customers
Write a program to do the following In main, declare a Player
Write a program to do the following: In main, declare a Player Name Array and a Score Array. Declare the size of the arrays to be 100. In the InputData( ) method, input the player name and score into … read more
LogicPro
LogicPro
Computer Software Engineer
13,507 satisfied customers
A defining diagram (and flowchart) A list of control structures
A defining diagram (and flowchart) A list of control structures required A pseudocode algorithm A desk check of the algorithm algorithm #1 Design an algorithm that will prompt for and receive 10 integ… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
Develop a pseudo code that reads a series of positive and negative
Develop a pseudo code that reads a series of positive and negative integers from the user and loads these values into an array. The program then calculates and outputs the average of the values read. … read more
jatechexpert
jatechexpert
Master\u0027s Degree
1 satisfied customers
Write a program that asks the user how many students to process,
Write a program that asks the user how many students to process, then reads in the scores for two items, an exam score and lab average, for that many students, then calculates and displays a table of … read more
unvadim
unvadim
Computer Software Engineer
Diplom
1,168 satisfied customers
Objectives Demonstrate how to process C-style strings by
Objectives: • Demonstrate how to process C-style strings by using the null terminator. • Use appropriate program structure and statements to develop and implement a pseudo-code design for solving a gi… read more
LogicPro
LogicPro
Computer Software Engineer
13,507 satisfied customers
Objectives Use an organized, modular approach to develop
Objectives: • Use an organized, modular approach to develop programs, including appropriate functions and structure (sequence, selection, repetition and nesting). • Design and implement functions that… read more
LogicPro
LogicPro
Computer Software Engineer
13,507 satisfied customers
develop a pseudo code that reads a series of positive and negative
develop a pseudo code that reads a series of positive and negative integers from the user and loads these values into an array. The program then calculates and outputs the average of the values read. … read more
LogicPro
LogicPro
Computer Software Engineer
13,507 satisfied customers
I need a code in C++ using Microsoft Visual 2008. Below are
I need a code in C++ using Microsoft Visual 2008. Below are the requirements: Objectives • Use an organized, modular approach to develop programs, including appropriate functions and structure (sequen… read more
lifesaver
lifesaver
Computer Software Engineer
Bachelor's Degree
950 satisfied customers
Write a program that asks the user how many students to process,
Write a program that asks the user how many students to process, then reads in the scores for two items, an exam score and lab average, for that many students, then calculates and displays a table of … read more
lifesaver
lifesaver
Computer Software Engineer
Bachelor's Degree
950 satisfied customers
I can not make any changes to the inputmod function /******************
I can not make any changes to the inputmod function /****************************************************/ /* File: */ /* */ /* Created by: */ /* Date: */ /* */ /* */ /* */ /* Inputs: (keyboard) */ /*… read more
LogicPro
LogicPro
Computer Software Engineer
13,507 satisfied customers
for lifesaver Exercise A 1. In a counter-controlled while
for lifesaver Exercise A 1. In a counter-controlled while loop, it is not necessary to initialize the loop control variable (T or F). 2. It is possible that the body of a while loop may not execute at… read more
lifesaver
lifesaver
Computer Software Engineer
Bachelor's Degree
950 satisfied customers
I have a functions assignment to do for homework and I am really
I have a functions assignment to do for homework and I am really lost. I have this as a practice problem that I could use as an example. Please help! To test this function, you must write a driver (in… read more
Ansh P.
Ansh P.
System Analyst
Bachelor\u0027s Degree
6,393 satisfied customers
I have a practice exam and this exercise is kicking my butt!
I have a practice exam and this exercise is kicking my butt! I also need to test the code with the following numbers (X=1,Y=1)(,X=2,Y=2,)(X=5,Y=5)(X=20,Y=20)(X=2,Y=10)(x=10,Y=2)X=3,Y=4)X=4,Y=3)(x=36,Y… read more
LogicPro
LogicPro
Computer Software Engineer
13,507 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x