Search:

Type: Posts; User: michael305rodri

Search: Search took 0.38 seconds.

  1. Re: Can you help me find my logic error

    Thank you :) I forgot to test for a right triangle so I got B on the assignment but It's cool. Thanks for the clarification.
  2. Replies
    5
    Views
    465

    Re: How to write body methods

    Nvm got it! Thank you guys!
  3. Re: Having trouble writing the methods for this program

    How can I delete?
  4. Replies
    5
    Views
    465

    Re: How to write body methods

    how do I delete it?
  5. Re: Having trouble writing the methods for this program

    I just reposted this in a nicer way. Should I delete this post?
  6. Replies
    5
    Views
    465

    How to write body methods

    I recently posted a similar post to this one. The reason why I'm posting this again is because an administrator told me to put [ highlight=Java] and [/highlight] to make my post more readable I hope...
  7. Having trouble writing the methods for this program

    public SpeedDating()
    {
    } // Constructor has empty body

    /**
    * Prints the day of the week (e.g. "Thursday") on which Halloween will
    * fall for 10 consecutive years.
    *...
  8. Replies
    1
    Views
    206

    What's up with this if code?

    System.out.println("Example2c: ");
    int A = 85;
    int B = 65;
    String out = "\tNot a valid input!";
    if (x > A) out = "\tWell done!";
    if (x > B) out =...
  9. Replies
    3
    Views
    315

    Re: Exam study review question

    I have no idea how to start :( It says 4 digit string so I thought about parse to convert to int but I really have no idea how to begin.... Any help or guidance would be really appreciated thanks
  10. Replies
    3
    Views
    315

    Exam study review question

    Time is given as a 4 digit string. First 2 digits represent hour, the last 2 represent minitute.
    Thus 935 is 9 hours 35 minutes (9:35am), 1454 is 14 hours 54 minutes (2:54pm).
    • Write a method that...
  11. How can I write a class or something so I can run and test the following code?

    /* what is the output for each one of these methods for
    * x = -1,0,1,64,65,66,84,85,86,100) */

    public class IfExamples
    {
    public IfExamples() {}

    public void Example1(int x)
    ...
  12. What does "play computer" hand trace segment of code mean?

    Be able to “play computer” or hand trace segments of code containing variable declarations, input, assignment, decisions, and output statements.
    My exam is coming up and I need to know what play...
  13. Checking to see whether a triangle is obtuse isosceles or acute isosceles.

    obtuse: any two side lengths where the sum of their squares is less than the square of the other side length
    right: any two side lengths where the sum of their squares is equal to the square of the...
  14. Re: Can you help me find my logic error

    obtuse : any two side lengths where the sum of their squares is less than the square of the other side length
    right:any two side lengths where the sum of their squares is equal to the square of the...
  15. Can you help me find my logic error

    I'm almost done! I am supposed to make a program that allows a user to input the sides of a triangle and print out whether it's an equilateral, obtuse/acute isosceles, or no triangle. Right triangle...
Results 1 to 15 of 15