ohh ok ill try it like that thank you ..I will see if it works
Type: Posts; User: yuli
ohh ok ill try it like that thank you ..I will see if it works
I get what you are saying
for(number =1; number <= 9; number++)
the thing I don't get is the actual spacing and the numbers
I know how to use for loops but I don't know how to get it to do it the times equal to its square
Using nested for loops, write a program that will print the numerals 1 through 9 a number of times equal to its square. 1 will print one time (1^2), 2 will print 4 times (2^2), 3 will print 9 times...
/*juliana Vargas
programing
10/29/2013
*/
import java.util.Random;
public class RandomPhoneNumber
{
public static void main (String[]args)
{Random generator = new Random();
ohhh I see what you meant hopefully now its better
/*juliana Vargas
programing
10/29/2013
*/
import java.util.Random;
public class RandomPhoneNumber
{
public static void main (String[]args)
{Random generator = new...
how what you mean sorry?.. how?
/*juliana Vargas
programing
10/29/2013
*/
import java.util.Random;
public class RandomPhoneNumber
{
public static void main (String[]args)
{Random generator = new...
this is the new one I made but at the end it wont give me the last four numbers and I cant input the amount of phone numbers
--- Update ---
/*juliana Vargas
programing
10/29/2013
*/
import...
I can't tell because my jcreator doesn't run... I don't know why... thank you very much for your help... I will work on it more tomorrow if it works I would be please to thank you.. have a great...
sorry didn't see it
/*juliana Vargas
programing
10/29/2013
*/
import java.util.Random;
public class RandomPhoneNumber
{
public static void main (String[]args)
{Random generator = new...
Create a new java file named RandomPhoneNumber.java
Using Math.random(), write a program that creates and outputs random phone numbers of the form (xxx) xxx-xxxx. Include the parentheses and...
import java.util.Random;
public class RandomPhoneNumber
{
public static void main (String[]args)
{Random generator = new Random();
/*write down the RandomNumber...