# Search:

Type: Posts; User: Sylis

Page 1 of 2 1

1. ## Thread: Fibonacci Sequence final project

by Sylis
Replies
10
Views
631

### Re: Fibonacci Sequence final project

I apologize. Fibonacci Sequence final project (Beginning Java forum at JavaRanch)
2. ## Thread: Fibonacci Sequence final project

by Sylis
Replies
10
Views
631

### Re: Fibonacci Sequence final project

Right, I did end up making a post at code ranch, and make a great deal of headway. I do however have another problem at the moment. I've added some exceptions and moved some stuff around in order...
3. ## Thread: Fibonacci Sequence final project

by Sylis
Replies
10
Views
631

### Re: Fibonacci Sequence final project

I'm adding 2 to the variable inside the for loop because I've already got index 0 and 1 filled with the first 2 digits of the sequence. And they're used in the equation. The next index that needs...
4. ## Thread: Fibonacci Sequence final project

by Sylis
Replies
10
Views
631

### Re: Fibonacci Sequence final project

So say the user inputs 5 for the amount of digits they wish to display of the fibonacci sequence it creates an array 0-4. This is what is displayed

5. ## Thread: Fibonacci Sequence final project

by Sylis
Replies
10
Views
631

### Re: Fibonacci Sequence final project

The amount of indexes are set by the user. If they want to display the first ten numbers of the sequence then the array would have ten indexes. And all of them need to be printed. Hope that...
6. ## Thread: Fibonacci Sequence final project

by Sylis
Replies
10
Views
631

### Fibonacci Sequence final project

I'm having some trouble with my program for the final project.

My assignment is to take a user input of how many digits of the fibonacci sequence they wish to display, and then....display them....
7. ## Thread: Running with Exceptions

by Sylis
Replies
3
Views
230

### Re: Running with Exceptions

I figured as much. An if statement for if the boolean value is true, would look into asking for user input again.
8. ## Thread: Running with Exceptions

by Sylis
Replies
3
Views
230

### Running with Exceptions

I'm creating a java program for an assignment that is supposed to take a test score 0-100, that throws an exception if the score entered is outside of that range. Once the error message is displayed...

by Sylis
Replies
6
Views
513

how might one go about comparing strings with capitols to strings with non-capitols.

For example according to the instructions the Rosebud or RoSeBuD or any variation there of should be able to...

by Sylis
Replies
6
Views
513

Thank you!
I guess I was googling the wrong stuff.

by Sylis
Replies
6
Views
513

It's funny, I was thinking that about 6 hours ago and totally forgot that equals() method was a thing.
Thank you much.

by Sylis
Replies
6
Views
513

My assignment is to create a password validation applet, that compares user input to a specified set of passwords stored in an array.
For some reason, no matter what I type in, it gives me the error...
13. ## Thread: Output doesn't display numbers

by Sylis
Replies
6
Views
479

### Re: Output doesn't display numbers

I do have another problem, when I print the code, everything prints correctly, except the interest.
For the checking accounts, it doesn't print at all, and for the savings accounts, it prints...
14. ## Thread: Output doesn't display numbers

by Sylis
Replies
6
Views
479

### Re: Output doesn't display numbers

Thank you so very much! I had asked that question earlier, but I guess I ask so many questions at once usually, that people don't really want to respond, or whatever.

Thank you very much, that...
15. ## Thread: Output doesn't display numbers

by Sylis
Replies
6
Views
479

### Output doesn't display numbers

I've got this code for an assignment, and for some reason my output displays zero's instead of the information I've added to the constructors. Also, the checking account is also supposed to display...
16. ## Thread: Inheritence and problems with static methods.

by Sylis
Replies
15
Views
362

### Re: Inheritence and problems with static methods.

You sir are a gentleman and a scholar.
I like that you gave me the answers I was looking for without just giving it to me. Made me think, and using my head, I figured it out, and instantly...
17. ## Thread: Inheritence and problems with static methods.

by Sylis
Replies
15
Views
362

### Re: Inheritence and problems with static methods.

Well, I use the methods to set the customer number, customer name, order quantity, and unit cost from Order, and then computePrice from a shipped order class in order to calculate the four dollars...
18. ## Thread: Inheritence and problems with static methods.

by Sylis
Replies
15
Views
362

### Re: Inheritence and problems with static methods.

Shouldn't it be the ShippedOrder method? The first set of dialog boxes set up the information, and then the computeOrder() in Order computes only quantity * price, and the computeOrder uses quantity...
19. ## Thread: Inheritence and problems with static methods.

by Sylis
Replies
15
Views
362

### Re: Inheritence and problems with static methods.

Yes I have.

import javax.swing.*;
public class Order
{
private String customer, numb, quant, unitPrice;
private int custNumber;
private double orderQuant, unitCost;
public double total;
20. ## Thread: Inheritence and problems with static methods.

by Sylis
Replies
15
Views
362

### Re: Inheritence and problems with static methods.

Thank you, I figured it out by using:

import javax.swing.*;

public class UseOrder
{
public static void main(String[] args)
{
Order anOrder = new Order();...
21. ## Thread: Inheritence and problems with static methods.

by Sylis
Replies
15
Views
362

### Re: Inheritence and problems with static methods.

You mean to instead of creating three different classes I should just have one class with an Order and ShippedOrder method in the one class? The assignment is to create three classes I can't really...
22. ## Thread: Inheritence and problems with static methods.

by Sylis
Replies
15
Views
362

### Inheritence and problems with static methods.

I'm having some trouble getting this program to work, my assignment deals with inheritance, and I'm basically trying to call my methods in main in order to run them.... so here's what I've gotten so...
23. ## Thread: A couple of questions.

by Sylis
Replies
0
Views
245

### A couple of questions.

First off, I had an assignment last week, and was curious if I was reading to far into the assignment or assuming what needed to happen.
The assignment was:

The purpose of this assignment is to...
24. ## Thread: End of line error.

by Sylis
Replies
2
Views
307

### Re: End of line error.

I know I should've included the errors exactly as they were, but they were very confusing to me for some reason, I ended up changing my entire program around. I have two classes. Here's the entire...
25. ## Thread: End of line error.

by Sylis
Replies
2
Views
307

### End of line error.

I have this assignment I need to do using an array. I get this error at the end of the line containing the array.

public class UseTaxPayer
{
public static void main(String[] args)
...
Results 1 to 25 of 33
Page 1 of 2 1