Search:

Type: Posts; User: Knowledge_Feeds_The_Mind

Search: Search took 0.27 seconds.

  1. Re: Help needed with reversing numbers entered (in Java).

    Thank you so much dicdic!:) I did not realize such a simplistic mistake. :eek:
    I truly appreciate your assistance!
    Thank you for helping me understand how to understand the foreign language of...
  2. Re: Help needed with reversing numbers entered (in Java).

    So I figured it all out, but there is a small hitch. The program prompts for 11 values, when it is supposed to prompt for only 10.......
    How do I fix this?



    This is how my code looks right...
  3. Re: Help needed with reversing numbers entered (in Java).

    So then how would i write it correctly? Thank you so much!!!!!
    Thank you for your assistance.
  4. Re: Help needed with reversing numbers entered (in Java).

    Drgy55, thanks so much B), this is so rad. Cannot believe that I did not notice this. I go by the name Vex, because it is shorter and easier :D

    My answer finally reverses!! There is a 0 though,...
  5. Re: Help needed with reversing numbers entered (in Java).

    It was my mistake for not specifying, I get the results (above) for every number I put in. It is as if those values are set in the array. I would like to know how to change it so, that when I input...
  6. Help needed with reversing numbers entered (in Java).

    I am having issues with my output and cannot figure out what is causing it. I have been struggling for 2 days now.. Any help appreciated
    Also if I can see how to calculate the minimum and the...
  7. Re: Write a class encapsulating the concept of a circle: Help Needed

    I finalized my code, but I cannot run it, the program says that there is no main class?
    "public static void main(int radius, int x, int y) {" I thought that this was my main class....
    Do you know...
  8. Re: Write a class encapsulating the concept of a circle: Help Needed

    So I sat down and reran the entire thing.
    I thought I had it but nope, did not happen :confused:



    public class NewCircle {

    public static void main(int radius, int x, int y) {
    ...
  9. Re: Write a class encapsulating the concept of a circle: Help Needed

    So I reworked the code and now I think I only have to find a way to integrate the second code into the first code






    //First Code

    import java.awt.Point;
  10. Re: Write a class encapsulating the concept of a circle: Help Needed

    I do not think I need to know exactly, put pretty close to it.
    Yes. "A toString method that prints out the location of the circle (the x, y coordinates of
    the Point) and the radius."



    ...
  11. Write a class encapsulating the concept of a circle: Help Needed

    Prompt: Write a class encapsulating the concept of a circle, assuming a circle has the following attributes: a Point representing the center of the circle, and the radius of the circle, and integer....
  12. [SOLVED] Re: Simple Question: How do I input an exit code into my program?

    That solved it, thanks a bunch. :)
    :D
  13. [SOLVED] Simple Question: How do I input an exit code into my program?

    I just want to know how I can get my program to end when the user inputs "0." By using: System.exit(0);



    import java.util.Scanner;

    public class TestCode
    {
    public static void main...
  14. [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

    o:-) Thank you for all your help, I ran the program multiple times and it is perfect. I cannot thank you enough for your guidance and helpful nature. I hope that you have a great rest of the day!:)...
  15. [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

    It worked out, thanks :D :D
    still having a problem with getting score 1:, score 2: etc, but everything else, perfect.:)
    What did you mean with, "try to print score concatenated by variable i?"

    ...
  16. [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

    Would you be able to show an example I am a little bit confused? Sorry about the inconvenience...
  17. [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

    That worked out perfectly! I discovered two small glitches though. (Whenever I think I have finally solved this problem, a new problem appears...) This will be the last question I ask though, because...
  18. [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

    I fixed the brackets, thank you for pointing that out.:)
    Yes it does, and it actively tells me if the value is not accepted. The problem is that the program says it is not accepted, but the value...
  19. [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

    Thank you very much you have been extremely helpful!! I am really happy :) :) . The main problem that I have been trying to figure out has been solved and that makes me overjoyed. (I did remove the...
  20. [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

    Thank you again, this is very helpful for me!

    I omitted total += total; What would be the correct arithmetic solution?

    I do not need to print it in every input, I would prefer to do it after...
  21. [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

    Thank you for responding!!:)

    The output is processed like this:
    Number of values = 71500
    Maximum = 90.0
    Minimum = 20.0
    Average = 7150.0

    They should look like this:
    Minimum score: 45
  22. [SOLVED] Re: Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

    Thank you for both replies.
    I fixed the issue part wise, and I ran a debugger my file and there seems to be no issue. Now I am trying to run the file and it gives me an unusual output:
    Enter ten...
  23. [SOLVED] Java Coding: Assistance with a loop that calculates maximum, minimum, and average of 10 inputted numbers.

    Hello,
    I am a newbie to Java and I am having troubles with my code. It does not calculate the maximum, minimum or average of the 10 numbers that the user is prompted to input. So I turn to the ones...
  24. Looking forward to working with everyone.

    Hello Java Community,

    I am just yet another knowledge seeking individual who looks to enrich their understanding of Programming and the Java language. I know very little but I will try my best to...
Results 1 to 24 of 24