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
~3K People Reached
Favorite Forums
Favorite Tags
java x 17
Member Avatar for charlie81

My assignment is to write a C# program that computes weekly pay for an employee. Input the number of hours worked. The employee receives 7.50 per hour for the first 40 hours worked and 11.25 per hour for each additional hour. Create Test data before coding and running the program. …

Member Avatar for derea.tadea
0
1K
Member Avatar for charlie81

This is the assignment-Write a C#.NET (call it Lab7) that performs the following: The program contains an array that holds 10 ZIP codes to which a company delivers. Prompt the user of the program to input a ZIP code and then display a message on screen that indicates whether the …

Member Avatar for mvkotekar
0
158
Member Avatar for charlie81

I am getting an error saying NumberOperations can't be instantiated. Here is the code. [CODE][LIST=1] [*]public static void main(String[] args) { [*] // TODO Auto-generated method stub [*] // declare variables [*] int num1, num2, sum, diff, product, average, absolute, max, min, adjusted1, adjusted2, adjustedSum; [*] // Display Program Title …

Member Avatar for knowledgelover
0
167
Member Avatar for charlie81

I want to change a while loop to a for loop but not sure how to do it. This is the loop. [CODE][LIST=1] [*]public static void main(String[] args) [*] { [*] String input = JOptionPane.showInputDialog( [*] "Please enter a number, 0 to quit:"); [*] int n = Integer.parseInt(input); [*] int …

Member Avatar for breandan
0
89
Member Avatar for charlie81

Not sure how to call the methods in this program. [CODE]import javax.swing.JOptionPane; public class Main_Class { private static final char Y = 0; /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub /** * @param args */ // declare variables int input1, input2, …

Member Avatar for darkagn
0
88
Member Avatar for charlie81

I have error in the top of this program not sure what I did wrong. import javax.swing.JOptionPane; public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub class wk2 { private static final char Y = 0; /** * @param …

Member Avatar for jasimp
0
152
Member Avatar for charlie81

I am doing a chess game using arrays in java I have my array set up I just need to figure out how to write an algorithom that goes over the chess board and reports what is on what spot --(i,j) coordinate. Here is my array. Also let me know …

Member Avatar for BestJewSinceJC
0
76
Member Avatar for charlie81

I know I am missing somethings in my code not sure what I am supposed to put in. Here is what I have so far. import javax.swing.JOptionPane; public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String firstNumber;//first number …

Member Avatar for verruckt24
0
162
Member Avatar for charlie81

I know I am missing something when I try to run it it says that it doesn't contain a main type. I am probably missing something really easy but here is what I have. public class Cube { public static void main() { double height = 3.0; double cube_volume = …

Member Avatar for javaAddict
0
88
Member Avatar for charlie81

I think i have everything write except for the Input statements. It is telling me that JOptionPane can't be resolved. Here is what I have so far. public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String firstNumber; String …

Member Avatar for charlie81
0
180
Member Avatar for charlie81

This is what my lab says to do Start Main( ) or btnRun_Click( ) Create a RaceCar object Set the car name to “Fast One” Set the x coordinate to 200 Set the y coordinate to 100 Call the car’s Move( ) method and show the resulting message Display a …

Member Avatar for Ramy Mahrous
0
258
Member Avatar for charlie81

That is what it started out as. Start Main( ) Get name of player Get cash (starting cash amout) Set more = “yes” Start Loop Set betAmount = 0; Start Loop Get betAmount If( betAmount > cash ) Display “You do not have enough cash for that bet amount.” Display …

Member Avatar for JerryShaw
0
59
Member Avatar for charlie81

Not sure what I am doing wrong. My homework says Design C#solution with a `Main()` method that holds an integer variable named seconds to which you will assign a value. Create a method to which you pass this value. The method displays the seconds in minutes and seconds. Add a …

Member Avatar for crava
0
97