Hello. I have the following problem. I don't know if it's a knapsack problem, or what problem it exactly is. My java skills are not the greatest, so please help. Here is the problem. Then, I will...
Type: Posts; User: redbull
Hello. I have the following problem. I don't know if it's a knapsack problem, or what problem it exactly is. My java skills are not the greatest, so please help. Here is the problem. Then, I will...
Hello,
Can anybody explain each lines of this code in details? I understand most of it, but I have a couple of problems with some of the logic and coding.
class Josephus
{
static...
ok I would appreciate all the help and explaining that I can get
I have just corrected the program to the one I submitted for my assignment. This was made in eclipse, and checkstyle was used. And the instructor wants everything to be final, all the numbers to be...
I did, but someone deleted my original post... And i spent 20 minutes making it.. Bummer!
--- Update ---
I'll start over again
--- Update ---
OK, here is an assignment that I already...
Hello, I have the following code that I need help in:
import java.io.File;
import java.io.IOException;
import java.math.BigDecimal;
import java.math.BigInteger;
import...
Hello, I have the following java code that's been giving me trouble to figure out. I'm in my second semester of java, so I should figure this out by now. But, it's been a little tough for me. Before...
How do i delete my previous threads and posts? They might provide a free sample of code to people taking the same courses at my school. I want to delete all my programming threads. thank you
OK, the assignment is past due and was extra credit. How do I do this? Reduce my program from 930 bytes to under 793 bytes. And most of my program is java string. Last, I cannot import any files into...
i am totally lost...
--- Update ---
ok, maybe it involves javap -c <class>....
how do you do that? He did hint on changing the extension, possibly to a text
--- Update ---
No, the program can't take any input. I heard someone else mention something about converting this...
that's what I will have to do. I am going to use an external program to get the hex codes for this string, compress that string in hex codes, then bring these hex codes into my program. The...
I am counting bytes of the java file. Like suppose I save it to the desktop, I'll right click it, check the properties, and check the size there.
I cannot pass in any inputs for this. Here's what...
ok, I have another idea. I'm going to use an external program to convert string to ascii. Then I am going to copy and paste that into a java program, and compress that ascii code. Will that work? But...
ok I just added the "+" at the end of end line, to make it look more readable. But it adds a "+", which are extra characters.
--- Update ---
please, this is not the time to be asking these...
This is what the teacher said:
< The total number of characters in the program should be fewer that the total number of characters in the pledge (655 printable, 793 total). Your programs file...
how do i undelete? if not, I can repost
--- Update ---
<I pledge that every program with my name on it shall be written by me
(and my co-authors, if any) and that I fully understand the...
I deleted this
I Delete this
[/COLOR]
<I pledge that every program with my name on it shall be written by me
(and my co-authors, if any) and that I fully understand the program.
Every program I submit shall be entirely my...
Ok, without the PDF, all the words are going to be jumbled up. Here's what I am talking about
So here's a brief summary of the program and of my problems:
First, I'm having problems with the...
Hello,
I was given an assignment, of which I have spent the WHOLE ENTIRE DAY today AND yesterday working on. I am confused of where to start though. Here is the link to the assignment:...
also, if you look at string 'a1", i used ps.next() instead of ps.nextLine()... I thought nextLine was unnecessary. Why did you use nextLine for both of yours in your example?
I AMMMMMMMMMMM A GENIUSSSSSSSSSSSSSSSSS MUAHAHHA BUHAHAHA BUHAHA MUHAHAHHA.... I AM DA BEST PROGRAMMER EVER.
real talk, thanks for your help me...
unfortunately I have a lot of unfinished...
ok I got my code working, but it has many logic errors... the coefficients can only be one number. how can i get it to read if it's one of two numbers. The substring is only coded for one digit...