Currently viewing the tag: "some"

Some ancient Outboard Motors. Really cool but short. Check out my other sites: www.Stickam.com www.Snapvine.com www.Twitter.com www.Secondlife.com Voicemail: 310-598-3678 :-)

Tagged with:
 

Question: I need some help with my java code?
I need a little help with this, I need to declare two variables first and second, but it needs to ask the user for the input and get those values from the user.

import java.util.Scanner;
import java.util.Random;

public class Worksheet_5
{ public static void main(String [] args)
{ Scanner Fred = new Scanner(System.in);

String Name;
System.out.println(“Today we practice writing methods “);
System.out.println(“Here is the first method: \n”);
// Lyrics();
System.out.println(“Here it is again\n”);
// Lyrics();
// System.out.println(“2 to the fourth power is:” + FourPower(2));
// System.out.println(“6 to the fourth power is:” + FourPower(6));
Random100();
RandomInRange(50, 95);
System.out.println(“RandomInRange is: ” + RandomInRange(50, 95));
System.out.println(“Random is: ” + Random100());
System.out.println(“\n\n\n”);

}
public static void Lyrics()
{ System.out.println(“Row, row, row your boat”);
System.out.println(“Gently down the stream”);
System.out.println(“Merilly, merrily, merrily”);
System.out.println(“Life is but a dream.\n\n”);
}
public static int FourPower(int Number)
{ int Ans=Number*Number*Number*Number;
return Ans;
} // end FourPower()

public static int Random100()
{
Random generator = new Random();
int num1 = generator.nextInt(100) + 1 ;
return (num1);
}

public static int RandomInRange(int first, int second)
{
Random generator = new Random();
System.out.println(“Please enter First: “);

int num2 = generator.nextInt(second-first + 1) + first;
return (num2);
}
}

Answer:

Answer by cosimo
Use:

int val1 = Fred.nextInt();

Same for val2.

Tagged with:
 

Question: Why do some people put down others personal tastes?
Personally, I’m different than those types. I’m usually the type that is tolerant, open-minded, and respectful to anybody’s personal tastes. However, I’ve known some people who have given others, including myself, crap for liking something. Whether it’s teasing someone or being rather appalled about it, like saying “You actually like that?” in a rather disgusted tone or something. Well, with me, like I said, I’m very tolerant and open minded about other people’s tastes. Now there might be some things that someone is into that I personally don’t care for or like, but I don’t diss them for it or anything like that. I’m more like “Whatever floats your boat” or “If you like that, more power to you.”. I was once like that, but I guess this is a sign of maturity. Give me your input.

Answer:

Answer by my sword my trade!
i is a sign of low intelligence and ignorance.

Tagged with:
 

Question: What are some new songs with good base?
I got a Rockford Fosgate Power T2 in my boat. I would like to know some new songs that aren’t too nasty and don’t have excessive cursing like in “I’m on a Boat.”

Answer:

Answer by soccerhfreak1234
it is spelled bass

Tagged with:
 

Question: Erg times for some of the more elite level rowers out there?
I’m just curious. I’m a rower in high school, going to a D1 school next year for rowing. I know what erg times I need to row there and progress through the ranks as I approach senior year. im just curious what kind of times you would need for teams such as the U23 national team, making the olympic squad, or rowing for oxford or cambridge in “the boat race”. 2k erg scores would be best, but 6k times would be good too. I appreciate it. I’ve been wondering what kind of times these people are pulling for a while now

Answer:

Answer by egon
for 6k they propably pull about 1:40 averg. but i am just guessing here.

Tagged with: