I need help with writing up the Java Code.
Let’s find an answer to "I need help with writing up the Java Code.". The most accurate or helpful solution is served by Yahoo! Answers.
There are ten answers to this question.
Best solution
i need a java code using only 2 nested for loops to display.. 1 1 2 1 2 4 1 2 4 8 1 2 4 8 16 1 2 4 8 16 32 1 2 4 8 16 32 64 1 2 4 8 16 32 64 128 1 2 4 8 16 32 64 1 2 4 8 16 32 n 1 2 4 8 16 1 2 4 8 1 2 4 1 2 1
Answer:
This will do the job: for(int i = 1; i < 17; i++) { int m = (i < 9) ? i : 16 - i; for(int j =...
reddrago... at Yahoo! Answers Mark as irrelevant Undo
Other solutions
Hi I need help writing Java code using while loops. The code is supposed to make a user enter a character and the character has to be displayed 40 times with spaces in between the characters. I wrote this code (see below)but it just shows one character...
Answer:
I relied on http://www.video-animation.com/java_004.shtml for assistance on the correct Java syntax...
Marc at Yahoo! Answers Mark as irrelevant Undo
i need help getting a rectangle to move side to side these are the dimensions: g.setColor(Color.BLUE); g.fillRect(397,207,25,165); i need it to move along the x axis between the points 200 and 570 where y=125 (moving pretty much on a horizontal line...
Answer:
you need a thread. suppose you have a: import java.awt.*; import java.applet.*; public class myApplet...
peanutt at Yahoo! Answers Mark as irrelevant Undo
this is my method: I would like to now add a counter that will count the numberof steps it took to reach the number 1. like for example, if the input number was 1, it would have done 0 steps because 1 is the number it wants. if it was 2, it would take...
Answer:
donno what the collatz theory is, but I think you would be interested in returning the counter rather...
sidd0123 at Yahoo! Answers Mark as irrelevant Undo
The question says to write a program that converts as input integer to the equivalent number in binary form and displays the binary number as output. An algorithm for this conversion follows: set binary string to "" while decimal number >...
mari at Yahoo! Answers Mark as irrelevant Undo
Here are the specifications for completing the StringArray class: a) In the class StringArray write method numInArray,using the method signature below. numInArray should return the number of times the string s occurs in array A. For example, assume that...
Answer:
Nice to see that you are using the String.equals() method. Surprising a lot of people miss that issue...
sk8ergir... at Yahoo! Answers Mark as irrelevant Undo
I need help writing a code to Create a FormalGreeting application that prompts the user for his or her name, including title. The application should display “Hello, sir” if the string starts with Mr., “Hello, ma’am” if the...
Answer:
Hi, You start developing and if you have any queries then post them here. If you wanna hire some one...
INeedAns... at Yahoo! Answers Mark as irrelevant Undo
This is the assigment but i cant figure it out..i had an error but i dont get to work this program CAN U GUYS HELP ME OUT PLEASE...THIS is the exercise: Suppose that u r salesman, and ur total earnings depends on both a base assume 10000 and commission...
Answer:
There are a few things here. First, don't use System.out.printf() unless you're formatting values with...
Nelson at Yahoo! Answers Mark as irrelevant Undo
I am working on a project for my AP Java (Computer Science A) class and I need your help! I am trying to post data to a html form from a particular website: http://www.upcdatabase.com/itemform.asp The Java code I wrote kind of sort of works, but returns...
Answer:
That itemform.asp page uses JavaScript to catch the form submission and construct an URL that refers...
Sylvie at Yahoo! Answers Mark as irrelevant Undo
The code I have compiles but when I run it I get: Salesperson Sales -------------------- 1 0 2 4 3 5 Salesperson 3 had the highest sale with $5.00 Salesperson 0 had the lowest sale with $0.00 Here are the directions I have and my code. Help please!!...
Answer:
for (int i=0+1; i < sales.length; i++) { System.out.print("Enter sales for salesperson "...
fun_girl... at Yahoo! Answers Mark as irrelevant Undo
Related Q & A:
- I need help on what I need to buy or do.Best solution by Yahoo! Answers
- I need help with some horse questions, can you help me.Best solution by Yahoo! Answers
- I did something really bad and now i need help please help me.Best solution by Yahoo! Answers
- I need help writing an objective for my resume.Best solution by resume-help.org
- I need tips for writing a song.Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.