# Search:

Type: Posts; User: Messi5454

1. ## Thread: Help on Homework due at 12!!

by Messi5454
Replies
0
Views
1,197

### Help on Homework due at 12!!

There is something wrong with my main. I cant call my getrating method without it showing an error

(Note that this is Problem 7 on p.467 of your textbook.) Complete and fully test the class...
2. ## Thread: Help centering the square inside

by Messi5454
Replies
6
Views
812

### Re: Help centering the square inside

the x and the y are set the same. except for the one that cant be the same and thats the square inside the circle

filledObjects.square_x1 = 175;
filledObjects.square_y1 = 175;
...
3. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

did it just like you told me but it still isnt centered.

// of the shapes
filledObjects.square_x1 = 175;
filledObjects.square_y1 = 175;
filledObjects.square_width1...
4. ## Thread: Help centering the square inside

by Messi5454
Replies
6
Views
812

### Re: Help centering the square inside

i have honestly been on this computer since 2 trying to figure it out. Yes i have done that. i have even seeked help from one of my geometry teachers in high school. and he said all the fourmals were...
5. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

alright i did added at the end. but my square is still not centered in my circle
6. ## Thread: Help centering the square inside

by Messi5454
Replies
6
Views
812

### Help centering the square inside

I emailed the instructor my code and he said the only thing i have to do is center my inner square .
i attached picture
5522

import java.awt.*;

import javax.swing.*;
7. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

I emailed the instructor my code and he said the only thing i have to do is center my inner square . 55225522

import java.awt.*;

import javax.swing.*;

// begining of the Gepmetry class
8. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

i think there is a problem with finding my width and length with the largest square inside the circle.
5520
9. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

i see two squares and a circle?
10. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

and what is wrong with the second square im drawing?
11. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

wait, so what i'm doing its pointless? the diameter is not being inputted correctly?
12. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

thank you but i have no idea what that meant.I know i dont sound very intellegent but As i said before our instructor didn't really teach us anything. I did however moved some codes around and now...
13. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

okay so the proffesor extended our due date and gave us this code for the image of the that this is suppose produce and told us to work from there.
Im inputing all my measurments and integers and...
14. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

Okay so now how do i start to find the rest?
How do i draw the circle and then find the area of the biggest square?

import javax.swing.*;
public class Hw2 {

public static void...
15. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Re: Help on Homework

They haven't taught me anything about import javax.swing.*; or how to print the image of the circle or how to find the are of the smallest square in a circle? Our professor just kind of threw it at...
16. ## Thread: Help on Homework

by Messi5454
Replies
28
Views
2,128

### Help on Homework

Got this so far

import javax.swing.*;
import javax.swing.JOptionPane;
public class Hw2 {

public static void main(String[] args) {
// TODO Auto-generated method stub...
17. ## Thread: Help! what im i doing wrong

by Messi5454
Replies
9
Views
759

### Re: Help! what im i doing wrong

what about if i use this

double Sum = 0,Average, Smallest= Double.POSITIVE_INFINITY, Largest=Double.NEGATIVE_INFINITY ,Range = 0,Value = 0;
18. ## Thread: Help! what im i doing wrong

by Messi5454
Replies
9
Views
759

### Re: Help! what im i doing wrong

Alright thanks you are very helpful. but if i set the largest number to a small number and the smallest number to a really large number wouldnt that be considered as hard coding?
19. ## Thread: Help! what im i doing wrong

by Messi5454
Replies
9
Views
759

### Re: Help! what im i doing wrong

Okay so i tried to put it in tags this time. Sorry if im not doing it right. but thanks for the all the help. now i did it but it only works if at least one of the inputs is a negative integer. How...
20. ## Thread: Help! what im i doing wrong

by Messi5454
Replies
9
Views
759

### Re: Help! what im i doing wrong

well when i write run the application it doesnt tell me the correct average or the maximum or the minimum or the range. and i apologize that was my first post ever and i am two weeks into my freshman...
21. ## Thread: Help! what im i doing wrong

by Messi5454
Replies
9
Views
759

### Help! what im i doing wrong

Write a Java program that asks a user to input a number of values of type double and then prints:

the average of the values
the smallest of the values
the largest of the values
the range, that...
Results 1 to 21 of 24