I have got my code working 100%, I took bits and pieces from other open source java files to help build this up.. but the issue I am having is this.. I need the code to keep track of the scores once...
Type: Posts; User: jbarcus81
I have got my code working 100%, I took bits and pieces from other open source java files to help build this up.. but the issue I am having is this.. I need the code to keep track of the scores once...
Holy crow!! Is there an easier way to do this ? I'm just trying to draw a heart... lol... can this be similar to drawing a smiley face? I can do that!! 8-}
I found some code online to draw a pink heart.. sort of a valentine's day heart.. I would like to add to it and customize it some... But I can't get it to work as-is.. I get a compile error that...
Ok... here is my start..
public void initBoard(int player)
{
players[player].initMyBoard(locInPuzzleBoard);
}
I would like there to be a button at the least to reset the current player total ... but I'm thinking this should all be included with the 'New Game' module.. Because clicking the 'New Game' button...
Well my Java class has been assigned to design a basic Wheel of Fortune game !! Sounds fun right? WRONG!! LoL.. Here is the thing, we have each been given a portion of the game to code, I got the...
Well I just found out the code was handed out because we all bombed on the test ... so here is the code I should have come up with on my own.. Now, in my opinion, this is way advanced for where we...
The code at line 30 is
rate = 0.08;
I'll look into the compiler to get more details.. But I think I have some code out of place... seems logic.
Red all over? That's not an industry term? I'm newer at this than I thought.. LoL.. /joking.. Here is the output of Eclipse...
I need a GUI to collect the information.. in my original post I did up an image if you click the link of what my final product should be.. I'm having trouble getting there.. but Eclipse is having a...
import javax.swing.JOptionPane;
import java.text.DecimalFormat;
public class Commission
{
public static void main(String[] args)
{
String input;
double sales;
double rate;
Now I can use else/if or switch's ... here is what I have so far and I've got errors all over... it's my else/if's ...
if (sales >= 400000)
rate = 0.1;
else if (sales >= 300000)...
I'm back!! Your neighborhood noob extraordinaire!! Here's my problem.. I've not got enough code just yet to post but I'm just totally lost!!!!
I'm lost guys.. I'm going to do my best and...
I figured it out!! I can't believe how close I was and how simple the solution is... But I got it and it's functioning 100%!!! Thanks for the help!! But I'll be back no doubt!!
...
You guys have me soooo close I can taste it!! But I am going to sleep on it.. I'm gonna throw what I have to my professor and see what she can clear up that I'm not seeing.. I greatly appreciate the...
Am I any closer? I'm about to bang my head on the desk...
System.out.println( "Now applying a 10% raise to each employee and displaying additional yearly income.\n");...
Nope.. haven't figured it out.. I am still most likely overlooking it!! This seems so simple yet I can't get my head around it.. I've tried a couple of things but they haven't worked... Grrr!!
Now I have figured out how to calculate the extra 10% that they will get per year.. but I can't figure out how to show a total... I have this..
System.out.println( "Now displaying...
Been a long evening!! LoL.. Let me see here...
I really appreciate the help!!!
System.out.println( "Now displaying employees' full names and annual salary.\n");
System.out.println( employee1.getfirstName() + " " +...
Please excuse my noobness but which comma? All of them? I think I understand, I just want to be clear..
Ok.. so I changed lines 43 - 49 to this...
System.out.println( "Now displaying employees' full names and annual salary.\n");
System.out.println( employee1.getfirstName()," ",...
I fixed it!! I clicked on the syntax error and then clicked to "Fix project setup" .. Now it will run.. BUT ... it isn't running correctly ... not at all...
after I run.. I get an output of this...
I got what seems to be a simple exercise with a simple answer.. However, I can't get this code to run properly!! I'm just starting a course at my local community college and am using Java How to...