Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 5th, 2005, 2:25 PM   #1
wobbybaby
Newbie
 
Join Date: Sep 2005
Posts: 1
Rep Power: 0 wobbybaby is on a distinguished road
cubes

write a program that uses a loop to display the integer numbers 1 to 10 together with the cubes of each of their values.
wobbybaby is offline   Reply With Quote
Old Sep 5th, 2005, 2:32 PM   #2
Navid
Hobbyist Programmer
 
Navid's Avatar
 
Join Date: Feb 2005
Location: Canada
Posts: 187
Rep Power: 4 Navid is on a distinguished road
Send a message via MSN to Navid
for(i=0; i<10; i++)
{
punch(yourself);
}

There you go
Navid is offline   Reply With Quote
Old Sep 5th, 2005, 2:57 PM   #3
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
What's this for? It sounds a rather simple programming task. What do you gain by getting others to do the work for you?
Arevos is offline   Reply With Quote
Old Sep 5th, 2005, 3:15 PM   #4
Navid
Hobbyist Programmer
 
Navid's Avatar
 
Join Date: Feb 2005
Location: Canada
Posts: 187
Rep Power: 4 Navid is on a distinguished road
Send a message via MSN to Navid
Like Arevos said, there's no point of programming if you're not interested, no one's forcing you. If there is, just let them know you don't want to and you rather be doing something else that you like.
Navid is offline   Reply With Quote
Old Sep 5th, 2005, 3:30 PM   #5
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
LOL you're even too lazy to ask to do it, you only give the assignment
Polyphemus_ is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:40 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC