# Search:

Type: Posts; User: kram

1. ## Thread: Need Help! Out of bounds error on ARRAYS!!

by kram
Replies
1
Views
979

### Need Help! Out of bounds error on ARRAYS!!

---Example: 2 2 3 20 10 7 9 6 8 8 8 2 9 12 14 5 5 5 5 19
plateau = 6 8 8 8 2 because 8 is the longest sequence of identical
numbers where the numbers to the left and right are lower.

...
2. ## Thread: Need Help! For loops and if/else

by kram
Replies
2
Views
680

### Re: Need Help! For loops and if/else

Thank You sir, why do i make things so complicated.
3. ## Thread: Need Help! For loops and if/else

by kram
Replies
2
Views
680

### Need Help! For loops and if/else

I don't see what is wrong i wrote it down on paper but here is the task i am trying to accomplish.

Print out a count-by-count matrix of asterisks and percent signs, alternating by row
Example:...
4. ## Thread: What do i have to do to fix my code?

by kram
Replies
2
Views
697

### What do i have to do to fix my code?

844
~o)
Basically i am just trying to search for a name within the .txt and than print line for each number after the name.
For example: Mark 0 0 0 13 23 12 56 23 53 12 45

i get an exception...
5. ## Thread: Noob needs help!

by kram
Replies
1
Views
466

### Noob needs help!

accepts two strings and returns the character index of the position
where the second string begins in the first; returns -1 if the second string does not appear in the first.

Examples:
IN:...

by kram
Replies
4
Views
1,702

### Re: Jumble

Wouldn't i need the for loop because it would grab the specific character from the string.

by kram
Replies
4
Views
1,702

### Jumble

String jumble(String): accepts a string and returns a jumbled version of the original: for this method, jumbled
means that two randomly chosen characters other than the first and last characters of...
8. ## Thread: All Digits only

by kram
Replies
3
Views
607

### Re: All Digits only

Alright thanks. int sum = 0 was just from another code i forgot to delete it.
9. ## Thread: All Digits only

by kram
Replies
3
Views
607

### All Digits only

In this program allDigits(String): accepts a string and returns true if EVERY character is a digit, otherwise false.

The code seems really simple but i seem not to be getting it here is my code:...
10. ## Thread: Checking Code: Getting the Unicode value of each character from a string.

by kram
Replies
2
Views
981

### Re: Checking Code: Getting the Unicode value of each character from a string.

Well every character has value i have to produce that value. I would believe that it is true. My string is "ABC" so as i access the string with s.charAt(i) grabbing that first character 'A' it is...
11. ## Thread: Checking Code: Getting the Unicode value of each character from a string.

by kram
Replies
2
Views
981

### Checking Code: Getting the Unicode value of each character from a string.

/* Something is wrong here not exactly sure i am a beginner. I cannot use ANY classes.
EXAMPLE: if argument value is "ABC" then the return value should be "198".