GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 28-Mar-2004, 22:22
froggyma froggyma is offline
New Member
 
Join Date: Mar 2004
Posts: 1
froggyma is on a distinguished road
Unhappy

How to write a code for


Write a code for a user to input a set of numbers eg: 25 16 15 23 and a negative 1 : -1, Will terminate the program.

Use a DOWHILE loop to continue to enter the numbers until -1,
Then output the all the number to the screen.
  #2  
Old 29-Mar-2004, 00:54
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,258
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all
Quote:
Originally Posted by froggyma
Write a code for a user to input a set of numbers eg: 25 16 15 23 and a negative 1 : -1, Will terminate the program.

Use a DOWHILE loop to continue to enter the numbers until -1,
Then output the all the number to the screen.
Looks like a worthwhile project to learn input and the do-while structure. Good luck.

By the way, we don't write code for people. We help them solve the problems they tell us about.
__________________

Got a cough? Go home tonight and eat a whole box of Ex-Lax. Tomorrow, you'll be afraid to cough.
-- Pearl Williams
 
 

Recent GIDBlogWriting a book by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Formatting C / C++ code WaltP C Programming Language 1 07-Jan-2008 00:59
[Tutorial] GUI programming with FLTK dsmith FLTK Forum 10 03-Oct-2005 16:41
CD burner wont burn!! robertli55 Computer Hardware Forum 1 18-Jun-2004 11:53
Yet another CD burner problem: Lite-On LSC-24082K Erwin Computer Hardware Forum 1 22-May-2004 12:28
can someone explain this code (Pointers and addresses) tommy69 C Programming Language 1 10-Mar-2004 17:57

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:42.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.