answersLogoWhite

0

In Java, the relevant lines would be something like this:

for (int number = 1; number <= 10; number++)

System.out.println(number, number*number, number*number*number);

User Avatar

Wiki User

11y ago

What else can I help you with?

Continue Learning about Math & Arithmetic

Can you write every integer as the sum of two nonzero perfect squares?

No.First of all, you can't write negative numbers as sums of perfect squares at all - since all perfect squares are positive.Second, for natural numbers (1, 2, 3...) you may need up to 4 perfect squares: http://en.wikipedia.org/wiki/Lagrange's_four-square_theoremNo.First of all, you can't write negative numbers as sums of perfect squares at all - since all perfect squares are positive.Second, for natural numbers (1, 2, 3...) you may need up to 4 perfect squares: http://en.wikipedia.org/wiki/Lagrange's_four-square_theoremNo.First of all, you can't write negative numbers as sums of perfect squares at all - since all perfect squares are positive.Second, for natural numbers (1, 2, 3...) you may need up to 4 perfect squares: http://en.wikipedia.org/wiki/Lagrange's_four-square_theoremNo.First of all, you can't write negative numbers as sums of perfect squares at all - since all perfect squares are positive.Second, for natural numbers (1, 2, 3...) you may need up to 4 perfect squares: http://en.wikipedia.org/wiki/Lagrange's_four-square_theorem


How do you figure the first ten perfect squares?

-- Write down a list of the first ten whole numbers. -- For each one, multiply it by itself, and write the product next to it.


What is 60 square?

A trick for figuring out squares of larger numbers that is sometimes helpful: if you can write the numbers as the product of two different numbers, then you can square those two numbers and multiply that to find the square of the original. 602 = 102*62 = 100*36 = 3600


Write down all the square numbers 36 100 71 62 343 121?

36 is the square of 6; 100 is the square of 10; 121 is the square of 11. 71, 62, and 343 are not squares of whole numbers.


How do you write 0 as the difference of two squares?

How can you have 0 as the difference of two squares? 5^2-5^2?

Related Questions

Can you write every integer as the sum of two nonzero perfect squares?

No.First of all, you can't write negative numbers as sums of perfect squares at all - since all perfect squares are positive.Second, for natural numbers (1, 2, 3...) you may need up to 4 perfect squares: http://en.wikipedia.org/wiki/Lagrange's_four-square_theoremNo.First of all, you can't write negative numbers as sums of perfect squares at all - since all perfect squares are positive.Second, for natural numbers (1, 2, 3...) you may need up to 4 perfect squares: http://en.wikipedia.org/wiki/Lagrange's_four-square_theoremNo.First of all, you can't write negative numbers as sums of perfect squares at all - since all perfect squares are positive.Second, for natural numbers (1, 2, 3...) you may need up to 4 perfect squares: http://en.wikipedia.org/wiki/Lagrange's_four-square_theoremNo.First of all, you can't write negative numbers as sums of perfect squares at all - since all perfect squares are positive.Second, for natural numbers (1, 2, 3...) you may need up to 4 perfect squares: http://en.wikipedia.org/wiki/Lagrange's_four-square_theorem


Write a C Program to print sum of squares of odd numbers?

#include


How do you figure the first ten perfect squares?

-- Write down a list of the first ten whole numbers. -- For each one, multiply it by itself, and write the product next to it.


How can you write a sentence with prints and prince?

The prince has a lot of prints that he printed (iI don't know I know it's dumb)


What are the perfect squares from 1 to 10000?

The perfect squares from 1 to 10000 are the numbers that result from multiplying an integer by itself. The perfect squares in this range are 1^2, 2^2, 3^2, ..., 100^2. So, the perfect squares in this range are 1, 4, 9, 16, ..., 10000.


Write algorithm compute sum of square of N numbers?

Oh, what a lovely question! To compute the sum of the squares of N numbers, you can create a simple algorithm. Start by initializing a variable to hold the sum, then loop through each number, square it, and add it to the sum. Once you've done this for all N numbers, you'll have the sum of their squares. Just like painting a happy little tree, take your time and enjoy the process.


Can c write programs?

A programmer can write programs in C, but C can't write anything by itself.


How do you write a program which reads a list of ten numbers and print the list in reserve order in c program?

The simplest way is probably to read the numbers into an array and then prints each element of the array starting at the last one and moving backwards.


What is 60 square?

A trick for figuring out squares of larger numbers that is sometimes helpful: if you can write the numbers as the product of two different numbers, then you can square those two numbers and multiply that to find the square of the original. 602 = 102*62 = 100*36 = 3600


Why to write programs when you have calculators?

You mean the calculators should write the programs? Well, they couldn't.


How do you write a letter for remove your finger prints?

Ask a local attorney.


Write down all the square numbers 36 100 71 62 343 121?

36 is the square of 6; 100 is the square of 10; 121 is the square of 11. 71, 62, and 343 are not squares of whole numbers.