Results 1 to 8 of 8
- 12-27-2011, 09:14 PM #1
Member
- Join Date
- Dec 2011
- Posts
- 3
- Rep Power
- 0
I beg you, help me with these tasks in Java!
1. Write a program to do while loop calculated values of the expressions for the values of x from 1 to 10 with step 0.5!

2. Write a program that accounts for the son of alpha angle alpha between 0 and 360 degrees in steps of 30 degrees!
3. Write a program to do while loop calculated values of the expressions for the value of x from 1 to 10.
Please, help me and thank you very much!
-
Re: I beg you, help me with these tasks in Java!
I think that I speak for all in wishing you much luck with your assignment.
However all you done is posted your requirements, and we won't be able to help at all unless you post answerable questions. Please show us what you've done so far, and let us know exactly what are your specific points of confusion. If it's "everything", then please check out the Java tutorials and how to write program links below:
The Java Tutorials: the Really Big Index
So, You Need to Write a Program but Don't Know How to Start
Also, the "how to ask smart questions" link in my signature links below can help you to write better answerable questions here.
Again, best of luck!
- 12-28-2011, 03:33 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: I beg you, help me with these tasks in Java!
Have you tied anything yet?
- 01-06-2012, 01:24 PM #4
Member
- Join Date
- Dec 2011
- Posts
- 3
- Rep Power
- 0
Re: I beg you, help me with these tasks in Java!
Have I tried them I did somehow work, thank you, but this task kept trying, but it will not!
Program work in JCreator, but does not work!
Write a program that determines the least common divisor of numbers. Example: numbers 24 and 26 are divisible by the numbers 2, 3, 6 and 12, and No. 12 should be a solution?
Thank you very much and happy holidays to you!Java Code:public static void main(String[] s){ long factor= Math.max(a, b); for(long loop= factor;loop > 1;loop--){ if(a % loop == 0 && b % loop == 0){ return loop; } } return 1; } }Last edited by Eranga; 01-06-2012 at 01:26 PM. Reason: code tags added
- 01-06-2012, 01:25 PM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: I beg you, help me with these tasks in Java!
So is this work as you expect?
- 01-06-2012, 01:55 PM #6
Member
- Join Date
- Dec 2011
- Posts
- 3
- Rep Power
- 0
Re: I beg you, help me with these tasks in Java!
This program for me in JCreator, will not work, throws me more errors, if you were kind energia, help me!
- 01-06-2012, 02:18 PM #7
Re: I beg you, help me with these tasks in Java!
Please post the full text of the error messages if you want help with them.throws me more errors,
- 01-09-2012, 04:20 AM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: I beg you, help me with these tasks in Java!
Similar Threads
-
JVM tasks
By sudharani in forum New To JavaReplies: 1Last Post: 04-25-2011, 02:58 PM -
Help with UNI tasks
By Roshi in forum New To JavaReplies: 6Last Post: 10-26-2010, 05:29 PM -
project with 5-6 java (and a bit xml) tasks
By nortelnet in forum Jobs OfferedReplies: 2Last Post: 08-18-2008, 07:38 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks