help with an easy code

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2004
Posts: 1
Reputation: jennie is an unknown quantity at this point 
Solved Threads: 0
jennie jennie is offline Offline
Newbie Poster

help with an easy code

 
1
  #1
Jun 5th, 2004
undefinedundefinedHELP!
could anybody have this kind of code: code that writes numbers from 1 to 10 in a list and then deletes even numbers.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 118
Reputation: Arizona Web is an unknown quantity at this point 
Solved Threads: 2
Arizona Web's Avatar
Arizona Web Arizona Web is offline Offline
Junior Poster

Re: help with an easy code

 
1
  #2
Jun 5th, 2004
I can probably help, you just need to let us know which language you are talking about. Sounds like JavaScript... and you forgot to define a variable. Please post the code.
Need a website designer? arizona web design : phoenix web design : MCP Media intelligent web design and web development solutions. MCP Media is owned and operated by Chris Hooley - who happens to be a real nerd... on purpose :-)
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,056
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: help with an easy code

 
0
  #3
Jun 5th, 2004
Note this is in the C++ forum, Arizona Web However, we do need more information. How do you want to write these numbers? Do you want to write them to the screen? To an array? Remember, we can use modular division (%) to pick out even numbers. Mod division is like remainder division. So if we said, check to see if number (n % 2) == 0 it would divide n by 2, and if the remainder was equal to zero, we would know the number was even.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

Re: help with an easy code

 
0
  #4
Jun 7th, 2004
Tell me where my beans are!!!!!
Tell me where my beans are!!!!!
Tell me where my beans are!!!!!
Tell me where my beans are!!!!!
Tell me where my beans are!!!!!

Make sense,no?post with more info next time jennie
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC