I need to insert a new object and I'm really not sure where to put it.
the object is: Student myStudent = new Student(StudentName);
public class Students{
String studentName;
double...
Type: Posts; User: ruffu054
I need to insert a new object and I'm really not sure where to put it.
the object is: Student myStudent = new Student(StudentName);
public class Students{
String studentName;
double...
Maybe I'll just start over............
The very first part that I became stuck on was in the beginning: public Student(String n) gave me an illegal start of expression error.
Thanks for the information, as one could see I'm new at posting as well.
import java.util.Scanner;
public class Students{
public static void main (String args []) {
Scanner input = new Scanner(System.in);
String studentName; //first input by user
double...
still confused?????????????
I dont make up the problem I just try to do them
Its not giving me the correct output when run the program.
import java.util.Scanner;
public class Max_Number {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double[] myList = new double[6];
...
I got Junky; a little different but you really really really help me a lot..
Again Im very new...... the if statement should be in ()?
Ummmm its still not working?
Thanks your awesome!!!
Help me out Junky?? how should I write this.
Again Im new the if statement should be in between the while statement?
My current program reads 1 + 3 =4. I need it to say 1 + 3= 400
In the top of the question it states the different services that are provided. Service 1 = 100....Service 4 = 400.
I'm sorry I'm so new at this. What should the if statement say????
I dont have any errors however, I dont the output that I'm looking for. I need to somehow multiply or add the services to get the output of: 1 + 3 = 300.
A company provides 4 different services whose costs are as follows:
Service 1: $100
Service 2: $200
Service 3: $300
Service 4: $400
Write a Java application that reads the service(s) provided...
I have a quick question?