Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~4K People Reached

12 Posted Topics

Member Avatar for MichaelCJ10

//I want to make a program so that i can move a pawn around a board. It only has 4 positions. I am wondering how i should //go about the action listener, as in should i check using a for loop? //The pawn begins in position 0 and depending on …

Member Avatar for stultuske
0
416
Member Avatar for xNeverLetGo

Probably has something to do with you having "double" for averagegrade and classaverage while having "int" values for what's going into it. Change them to Int and see if it prints, or change everything else to "double"...

Member Avatar for Ajit_2
0
335
Member Avatar for MichaelCJ10

I have a lottery program nearly completed, thought i had the last of the problems sorted but it seems i did not!! The program has a couple of issues. 1: Everytime i click a button it stores what i clicked, for example 10, and also creates a random number. Problem …

Member Avatar for nikolaos
0
254
Member Avatar for MichaelCJ10

//MY Problem is that i'm trying to make a lottery program, the issue i have is when i click a button, i want it to be so that after i click 6 buttons, lets say ,1,2,3,4,5,6, the program will move onto the next stage( i have yet to build that) …

Member Avatar for MichaelCJ10
0
929
Member Avatar for MichaelCJ10

I'm having a problem where i am making a simple combo box program that when it runs shows a pic, you can have a drop down box to select a different pic, very simple. I have an array for the file name of each, and a second array to store …

Member Avatar for MichaelCJ10
0
197
Member Avatar for MichaelCJ10

I have created a program to display salarys, calculate a bonus payment and display total. Wages and total are my two arrays. My problem is, when i run the program, my element starts at 0.i need it to start at one but it cant skip the first value in my …

Member Avatar for MichaelCJ10
0
920
Member Avatar for Murphyv10

You dont need set and gets when you have a constructor. 1 You need to get rid of these () after class boolean 2 if(!flightBooked=null) should be if(flightBooked!=null) 3 return false should be return false; 4 return true should be return true; 5 System.out.println("flight found)" should be System.out.println("flight found") Thats …

Member Avatar for MichaelCJ10
0
99
Member Avatar for MichaelCJ10

I need my overall data to all be output as double, but my counter is an int, and i imagine you cant use a double as a counter, so when it goes to compute my data, theres a mismatch between my counter and the rest . i need a way …

Member Avatar for stultuske
0
300
Member Avatar for MichaelCJ10

I need everything to come out as a double rather than an int. I dont know how to do this other than creating lots of variables! Is there a way i can convert? my counter is causing the problem but i dont think theres another way to do it.The program …

Member Avatar for MichaelCJ10
0
332
Member Avatar for MichaelCJ10

I want to create a code that will allow me to calculate bonuses based on the 10 salarys. i need if statements for this, i need to then assign the new value to my other array i have set up called total, and then i need to display that as …

Member Avatar for zeroliken
0
320
Member Avatar for MichaelCJ10

Im trying to make an array that just lists out some values, its the number of items sold in a day in a shop. and then, total those items in a seperate printf. Heres my code so far, i also seem to have an issue where it just ignore my …

Member Avatar for MichaelCJ10
0
121
Member Avatar for MichaelCJ10

I need help!!! im trying to get my sentinal to stop counting as my last value passed. Im imputting a value for a house,and its calculating a total price based on interest and stuff ive set up according to the house value. then pressing -1 to go onto the next …

Member Avatar for DavidKroukamp
0
263

The End.