Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~5K People Reached
About Me

Computer Science student, trying to learn as much as possible.

Favorite Tags

5 Posted Topics

Member Avatar for Krazykado

See closely here: [CODE] for (years=0; total < goal; years++){ System.out.print("The number of years you must invest to meet your goal of $ " + goal + " is " + years + " years."); }[/CODE] years is declared to be the control variable, though it is never tested if …

Member Avatar for JamesCherrill
0
1K
Member Avatar for gmunk

Hi all, lets say for example I have the following code [CODE]char *fname = "John"; char *lname = "Doe"; char *query = "SELECT fname, lname FROM table_name;"[/CODE] The last statement won't work, so my question is how to pass the fname and lname variables to the query?

Member Avatar for aryan79
0
1K
Member Avatar for gmunk

I'm trying to solve this problem -> [URL="http://www.hpcodewars.org/past/cw2/problems/PROB15.HTM"]http://www.hpcodewars.org/past/cw2/problems/PROB15.HTM[/URL]. Or should I say I'm completely unable to generate any ideas how to solve it, so I'd like to have some guidance on what to read or what kind of technique to use. I don't want a solution just some guidance. Thanks …

Member Avatar for gmunk
0
94
Member Avatar for Roegadyn

I made some changes to your BankAccount class. I suggest you revise your program logic though, because somethings are quite peculiar. [CODE] import java.util.Hashtable; import java.util.Enumeration; import java.util.Vector; public class BankAccount { private Hashtable<String, String> BankAccounts = new Hashtable<String, String>(); // you have to set a type when you initialize …

Member Avatar for Roegadyn
0
149
Member Avatar for musikluver4

The problem is in that when you first declare the arrays: [CODE]double[] monthlyPmt, principal, loanPmt, ratePmt, newPrincipal;[/CODE] You then in the actionPerfromed() method again say [CODE]double[] monthlyPmt[] = new double[...][/CODE] This is not needed. just remove the doble before that it should be: [CODE]monthlyPmt[] = new double[...][/CODE] Here is a …

Member Avatar for musikluver4
0
3K

The End.