Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 7th, 2005, 10:38 AM
Registered User
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default c++ beginner, need help please

i am taking a c++ course online. i have read the book and looked online but i cant figure out how to do these problems. can somebody help me please.

Write a program that reads in three numbers from the user. The program then displays the highest number of the three and the average of the three.

Write a program that reads an integer, displays a message stating whether the integer is positive or negative, and continues reading and displaying until the user enters 0. Use a while loop.

Imagine that 10 int values are labeled by position: 1, 2, 3, etc. Write a program that reads 10 integers and tracks how many of them have the same value as their position. That is, if the first number read is 1, or the third number is 3, that counts as a match, and the output would be the number of matches (from 0 to 10). Use a single if statement and a loop.

please help me






Similar Threads
Thread Thread Starter Forum Replies Last Post
A beginner who needs need help Jamesbizprocom Beginning PHP 1 June 28th, 2007 11:02 PM
Beginner Tilak_1 C# 2 January 21st, 2005 11:19 PM
Beginner [email protected] Beginning PHP 4 December 23rd, 2004 03:22 PM
Need help - C++ beginner Satheesh C++ Programming 13 August 7th, 2004 09:18 PM
Beginner programmed XML 3 February 21st, 2004 05:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.