This is just my opinion but,
To his defense, I don't think this is "spoon feeding" or whatever you wanna call it. I wrote the code, just had a line wrong and he identified it. Its not like I ...
Type: Posts; User: captianjaax
This is just my opinion but,
To his defense, I don't think this is "spoon feeding" or whatever you wanna call it. I wrote the code, just had a line wrong and he identified it. Its not like I ...
This is awesome, thank you!
thank you copeg, you are right, i did have set as a single line
thank you again for your help norm, i got a 100% on that assignment based on all your help! sending more thank yous!
What I am trying to do it print out a line based upon the number the user inputs. When a user inputs a number, it is supposed to print off that manylines of asterisks. An example of the output I am...
Hello guys,
I am trying to make a code using a nested loop structure. How would I input a number and the output would be one line of asterisk?
I am trying to get my code to have an output like...
thank you very much for all your help, i will keep working at it
ok so i shouldn't have to repeat this code:
System.out.print("Enter miles since tank was full (-999 to quit) ");
milesdriven = input.nextDouble();
while(milesdriven!=-999)
{
...
could u give me an example of what you mean? I am sorry i am just not up on the terms yet
there will be different values for each, but whenever i try to put that in the code, eclipse will not take it. I just can't figure out where i would put
totalmpg = totalgallons/totalmiles...
should be total miles and total gallons
i am not sure what u are asking me here, i'm sorry
the user is supposed to enter a new set of numbers and have them recalculated based on the old "mpg this tank full" and "total mpg"
The first set is correct, but those two outputs are supposed to...
This is the output from Eclipse:
Enter miles since tank was full (-999 to quit) 200.7
Enter gallons used in refilling tank:16.3
MPG this tankful: 12.31
Total MPG: 12.31
Enter miles since...
sorry I did post this question on another forum yesterday, I found this one this morning and liked the layout a little better. Sorry for not making
clear. Just trying learn java programming, and I...
I believe is just supposed to be "miles so far" this is what the assignment says
"Develop a Java application that will allow input of the miles driven and gallons used for each thankful. The...
This second code is an Easter Egg hunt game. The user is supposed to have the ability to enter Q to quit the game, I do no understand how to put this in and where:
import java.util.Scanner;
...
After the first time through the loop, the mpgtank and totalmpg should be different, for some reason I can't get it to change:
import java.util.Scanner;
public class Lab5a {
public static void...
Hello everyone, I am new to the forum, nice to meet you!
I am new to java programming and I am still learning the ropes. I joined here hopefully to get good feedback.
What I have here are two...
Hello everyone, nice to meet you. I am new to java programming and I am trying to learn all the terms and simple codes. I joined
this site to hopefully get some good feedback and expand my...