Search:

Type: Posts; User: pwngrammer

Search: Search took 0.21 seconds.

  1. Replies
    6
    Views
    1,814

    [SOLVED] Re: java password

    Im doing this one for fun now. Thank you to all of you for helping me out with both my programs. This one has a problem. Cannot find symbol-class Writer
  2. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    that work but now it says cannot find symbol - method CalculateForce(double,double) for system.out.println("The Force is " + formula.CaclulateForce(a,b));
  3. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    no. do i put that right before the code?
  4. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    now for Scanner read=new Scanner(System.in); it says cannot find symbol - class Scanner. I'm really sorry for bothering you with all this. You are a really great guy for helping me this much. I hope...
  5. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    now there is an error with the return first * second. it says "possible loss of precision"
  6. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    ';' expected. thats all it says
  7. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    it still wont work the semi colon is there but it doesnt work
  8. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    Sorry to bother again but when i try to compile it stops me at double a=0 and it says ";" expected so i added the semicolon but it still says the same thing. any ideas.
  9. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    Thank You! Is that everything. I have tried studying out of class but the website feel so cluttered and its hard to understand but I'll keep trying. I greatly appreciate this!
  10. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    public class Force extends Object
    {
    private double mass;
    private double accel;
    private double force;
    public Force
    {
    mass=0;
    accel=0;
    force=1;
  11. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    i just want him to put the code that is required to do the formula for F=ma. If you can please do it and notate it. This is my final project for programming class and i have just barely been getting...
  12. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    i simply want a program in which it prompts you to enter the mass and the acceleration and then it returns the force. what is hard to understand about that?
  13. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    "you can't have global variables defined within a function"

    yeah i totally understood what that meant:cool: So is that all the code. I just put that all together and thats my code?
  14. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    class Force{
    public Force(double a, double b){
    public int mass;
    public int acceleration;//is that right?
    }
    }//end of class
  15. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    savitch.In is the java code that can be exchaged for something else. I use Blujay and my computer is pregrammed to accept savitch.In i do not know the exact word. And about the class, that's where i...
  16. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    aww forgot the savitch.in for the second input sorry.
  17. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    public static Force readInput()
    {
    Double a,b,c;
    System.out.println("Please input mass.);
    a=SavitchIn.readLineDouble();
    System.out.println("Please input acceleration");
    Force f = new Force(a,b);...
  18. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    Haha, I love how you ended that with Regards. Anyway, I know how to do it i just want to make sure that i get it right. If i put up the code would you help me with my mistakes?
  19. Replies
    36
    Views
    2,409

    [SOLVED] Re: Physics Program

    thank you but i also need the code for the prompts to enter the numbers for mass and acceleration. thank you in avdance.
  20. Replies
    36
    Views
    2,409

    [SOLVED] Physics Program

    i need a simple physics formula. F=ma. Please create a program that has you input the mass and the acceleration and return the force. PLEASE i need this by monday. If you can please answer my other...
  21. Replies
    6
    Views
    1,814

    [SOLVED] java password

    Can someone make a program that creates a simple 4 digit password for a text file, and notate what every line of code does.
Results 1 to 21 of 21