•
•
•
•
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
![]() |
•
•
Join Date: Nov 2004
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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!
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!
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,661
Reputation:
Rep Power: 18
Solved Threads: 192
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.
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.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
- Chess Tournament (Geeks' Lounge)
- Possible Font Book problem? (OS X)
- My computer randomly restarts (Windows NT / 2000 / XP / 2003)
- Help with Classes !!! (Homework) (C++)
- Help referencing variables (C++)
- Need help writing a program (C++)
- Creating a Address Book using Random Access Files (Visual Basic 4 / 5 / 6)
Other Threads in the Java Forum
- Previous Thread: project i do not know what to do!
- Next Thread: how to program the Exit function from the JFrame window?



Linear Mode