User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 397,768 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,474 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1376 | Replies: 1
Reply
Join Date: Nov 2004
Posts: 1
Reputation: alexis is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
alexis alexis is offline Offline
Newbie Poster

Help (Help) I have look at my book to many times and its not helping me!

  #1  
Nov 15th, 2004
OK here is the deal...ive looked and looked at my java book...i am in oracle 2 this year this will be my 1st year...i am doing allright in it...as long as the book can help me...but see i cant find these answers...i have found 1, 2, 3
but not the rest witch is 4, 5, 6, 7,8,9,10...i kno that seems alot...but if some one could explain to me how to do them i could probly do better but i dont kno wat to do....here are the for loops
4.Write a program that prints out the multiples of 4 from 12 to 48 across the page with spaces in between the numbers
5.write a program that prints out the sum of the numbers from 1 to 100
6.write a program that prints out the sum of the multiples of 6 from 36 to 300
7.write a program that prints out the product of numbers from 5 to 11
8.write a program that prints out the factorial of a number that is typed in
9. write a program that prints out the sum of the even numbers from 12 to 28
10. write a program that prints out the product of the odd numbers for 1to 13

Ok i kno thats alot and i am really sorry i been looking for the answers in my book for about 4 days now and i cant find these answers if some would could show me how to do these then i think i could get them....PLEASE SOME ONE HELP ME I AM BEGGING YOU!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,661
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 192
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: (Help) I have look at my book to many times and its not helping me!

  #2  
Nov 16th, 2004
have you ever taken any course in highschool mathematics (most of the stuff you're asking is primary school math even)?

If not start there. If yes practice what they taught you.

If you can't see the code in your head, do the calculations on paper and determine an algorithm from that.

Someone writing the code for you (and most of these are one or two lines so giving you any code without writing it all becomes rather difficult) won't help you at all in the end as you learn exactly nothing at all.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

DaniWeb Java Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Java Forum

All times are GMT -4. The time now is 4:18 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC