Normally we charge \$1.00 for this answer

## Just do my homework!

• HTML tags will be transformed to conform to HTML standards.
Question
Submitted by Rayven1 on Tue, 2011-12-27 14:32
due date not specified
Rayven1 bought 1 out of 1 answered question(s)
one anonymous student showed interest

# Write a program that displays the squares of the numbers from 1 to 10. Recall that the square of a...

Write a program that displays the squares of the numbers from 1 to 10. Recall that the square of a number is just the number multiplied by itself. Demonstrate your knowledge of both looping structures by writing two procedures to do this. One procedure should be called, squareFor and the other should be called, squareDoWhile. Each procedure should take no arguments and return no values. Inside the procedure, simply display a message telling what kind of loop it is using and then use the appropriate loop to display the number, followed by its square. When you finish writing these two procedures, write a main procedure that will call both squareFor and squareDoWhile to show that they work. Use JOptionPane for message output.

Submitted by sivapriya1983 on Wed, 2012-01-04 03:54
teacher rated 0 times
0
purchased one time
price: \$1.00

## Java program attached.

body preview (16 words)

xxxx xxxxxxx to xxxx the xxxxxx xx xxxxxxx from 1 to 10 xxxxx xxx xxx xx xxxxx loops

file1.rar preview (0 words)

Submitted by sivapriya1983 on Wed, 2012-01-04 03:52
teacher rated 0 times
0
price: \$1.00

## Java program attached

body preview (13 words)

Java xxxxxxx to xxxx xxx xxxxxx xx xxxxxxx using xxx and do--while xxxxx

file1.rar preview (0 words)

Submitted by sivapriya1983 on Wed, 2012-01-04 03:50
teacher rated 0 times
0
price: \$1.00

## java program attached

body preview (19 words)

xxx program xxx xxxx xxxxxxx in java. It xxxx two procedures. xxx xxxxxxx uses xxxxxxxxxxx xx display the xxxxxxxxx

file1.rar preview (0 words)