Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,154,155 members, 7,821,929 topics. Date: Wednesday, 08 May 2024 at 10:02 PM

HELP!! Java Programmers In The House Pls Help. - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / HELP!! Java Programmers In The House Pls Help. (1098 Views)

How Long Did It Take You Guys To Become Strong Java Programmers / Help Java Programmers: Need Help With A Java Assignment (2) (3) (4)

(1) (Reply) (Go Down)

HELP!! Java Programmers In The House Pls Help. by llbhuds: 1:25pm On Sep 14, 2014
.
Re: HELP!! Java Programmers In The House Pls Help. by Capnd143(m): 12:31am On Sep 15, 2014
These are not too hard but the questions are rather too ambiguos! Well apart from the A part though!
Re: HELP!! Java Programmers In The House Pls Help. by llbhuds: 5:32am On Sep 15, 2014
Capnd143: These are not too hard but the questions are rather too ambiguos! Well apart from the A part though!

Yes and thats why i already solved d A part myself because its very easy.
Re: HELP!! Java Programmers In The House Pls Help. by olyjosh(m): 10:03am On Sep 15, 2014
If you have answered question A yourself, I see question B and C to be even more simpler than A. Why not try attempting it and post the code for checking and corrections.
Re: HELP!! Java Programmers In The House Pls Help. by olyjosh(m): 10:15am On Sep 15, 2014
Question B

/**
*
* @author Olyjosh
*/
public class YearlyProfit {
public double profit(double amount, double rate){
// I refuse to put time in the calculation since the programm indicate its yearly and that means time is 1 year
return amount*rate/100;
}
}


Since you answered question, I believe you can create an instance variable in another class or create main method in this very class and use it to check calculations of you chosen amount over range of 2% to 10% interest. (Hint : loop over 2 to 10 percent)
Re: HELP!! Java Programmers In The House Pls Help. by olyjosh(m): 10:38am On Sep 15, 2014
Qestion C

public static double VolumeNeeded(int stackNo, double stackLenght, double stackWidth, double stackHeight ){
return stackLenght*stackWidth*stackWidth*stackHeight*stackNo;
}

The simple explanation is, the minimum volume(may be volume of Bully Van) needed to trasport the number of stack(area * height) is volume of stack multiply by number of stacks they want to transport.

You can copy that method into a class with main or any class to create an instance of such class somewhere else and called with your argument passed to it. However it is a static method too so you can call it using the name of it class
Re: HELP!! Java Programmers In The House Pls Help. by olyjosh(m): 10:43am On Sep 15, 2014
Quite bussy now, will give u ans 2 qst D latter
Re: HELP!! Java Programmers In The House Pls Help. by llbhuds: 4:42pm On Sep 15, 2014
olyjosh: Quite bussy now, will give u ans 2 qst D latter

thanks alot.
i actually did A using varibles, u can imagine hw annoying it can be. I have method lecture tomorow.
Re: HELP!! Java Programmers In The House Pls Help. by olyjosh(m): 1:10am On Sep 16, 2014
Just coming back. But that question isn't that clear to me. Is the initial amount already in the account or what?
Re: HELP!! Java Programmers In The House Pls Help. by llbhuds: 6:11am On Sep 16, 2014
olyjosh: Just coming back. But that question isn't that clear to me. Is the initial amount already in the account or what?

no idea. grin grin grin
Re: HELP!! Java Programmers In The House Pls Help. by llbhuds: 6:33pm On Sep 16, 2014
went for the method class and i am now even more confused grin grin grin grin
Re: HELP!! Java Programmers In The House Pls Help. by olyjosh(m): 2:36am On Sep 17, 2014
I can do nothing but to laugh. grin cheesy lol

(1) (Reply)

What Would Nigerian Like To Have On The Internet In 2015 / I Need A Programming Buddy / Mobile Bulk Sms Application

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 11
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.