Hi all. I'm trying to get a jump start on some homework for next semester and wanted to run this problem by you guys:
A government research lab has concluded that an artificial sweetener commonly...
Type: Posts; User: KevinGreen
Hi all. I'm trying to get a jump start on some homework for next semester and wanted to run this problem by you guys:
A government research lab has concluded that an artificial sweetener commonly...
Hello all.
I'm trying to figure out how to get a JTextField contents to change, based on what the user's current JComboBox selection is. I can get it to do it with JCheckBoxes, but I'm not...
I found an extra pair of brackets. I think my IDE might not have been compiling it correctly or something. Oh well. Thanks for your help!
Hi everyone. I'm trying to finish up this bit of code for some homework, but I can't quite figure out where I'm going wrong. I can get the code to print out fine, but when it goes to itemPrice =...
After much screaming, I get them to sort out a little; but I'm having trouble with the print. I want:
Line 1: 2, 4, 6, 8...
Line 2: 22, 24, etc etc.
How do I insert the Line 1: text in the if...
See post blow. :(
I fixed some of the problems; still getting some errors:
public class DebugThree1
{
public static void main(String[] args)
{
double myCheck = 50.00;
double...
Still throwing errors? :(
calcTip(myCheck,RATE);
calcTip(yourCheck,RATE);
I'm trying to figure out this whole java thing... maybe I should gone into agriculture.. :-)
public class TipCalculator
{
public static void main(String[] args)
{
Here's my code:
import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
int entry;
Scanner keyBoard = new...
Thanks.
NetBeans is still throwing an error: 'non-static meth cube(double) cannot be referenced from a static context'.
What does that mean?
Thank you for your help. I'm still a little off, as I can't get it to work right. :(
// get the value squared
double squared = square(value);
// print it out
...
Hi everyone. I'm a new high schoolin' java student, working my way through this workbook. I'm trying to figure out how to call a method from another method. Here's what I need my code to do:
Input...