i mean i like this, it's good. i could use this in my secret plans to dominate the world using BACON! it's a joke, ok. don't take it seriously! also, check out my guy i like to call bucktooth (he's a smiley) here :B also check out mad bucktooth here >:B
archmage, ur like a freaking genius times OO (infinity); how old are you and how do you know so many programming languages? BTW, I'm almost 12 and know some Java.
I do all of my coding in Eclipse SDK :P
*Just responding to the "Almost no one on here knows any real programming languages" remark, I currently know:
Java,
C++,
Python,
BASIC,
HTML,
CSS,
Javascript,
Groovy,
XML,
Assembly,
Smalltalk. I can also program an Arduino decimilla microcontroller board. That adds up to 12 programming languages. HA! :P
I just tried running it again and it says "Possible Loss of Precision"
"Found: Double D"
"Required: Int"
Is there anything wrong with the program?
public class Random {
public static void main (String[] args) {
int x = Math.random()*11;
System.out.println("The Value of x is " + x);
}
Lol, you don't know Math.random? This is how to make a variable a random number : variable= Math.random()*11; //This will make the variable a random value from 0 to 10.
public class Loopy {
public static void main (String[] args) {
int x = 1;
System.out.println("Before The Loop");
while (x < 4) {
System.out.println("In the loop");
System.out.println("Value of x is " + x);
x = x + 1;
}
System.out.println("This is after the loop.");
}
}
This is one of my first JAVA scripts.
And do you know how to make a JAVA variable be a random number? I'm kind of a noob at Java. But I've been in C++ for a long time.
yeah, archmage is right. This pendulum is cool! mabye i'll remix itand have a guy who gets whacked after you let go after you pull back. BOOM! Uh oh spaghettio's! Then he'll fall over. MY OPINION
Comments
You need to be logged in to post comments
Add a Comment
1 | 2
Great! This could be useful...
(view all replies)Comment Reply
WOW! its good! guess what! i am making a 3-part-pendulem using this!
(view all replies)Comment Reply
gooood
(view all replies)Comment Reply
i mean i like this, it's good. i could use this in my secret plans to dominate the world using BACON! it's a joke, ok. don't take it seriously! also, check out my guy i like to call bucktooth (he's a smiley) here :B also check out mad bucktooth here >:B
(view all replies)Comment Reply
Never underestimate the power of bacon...
(view all replies)Comment Reply
interesting, i like your style
(view all replies)Comment Reply
What do you do?
(view all replies)Comment Reply
Only one project archmage
(view all replies)Comment Reply
k, I'll get rid of this one. Also say that you only want 1 project in your gallery discription.
(view all replies)Comment Reply
Oh my bad :P
(view all replies)Comment Reply
This gets addicting. I love to experiment with it!
(view all replies)Comment Reply
How did you program that?
(view all replies)Comment Reply
archmage, ur like a freaking genius times OO (infinity); how old are you and how do you know so many programming languages? BTW, I'm almost 12 and know some Java.
(view all replies)Comment Reply
he's in his teens
(view all replies)Comment Reply
(he's 17 to be exact :|)
(view all replies)Comment Reply
yep.
(view all replies)Comment Reply
u rock
(view all replies)Comment Reply
thanks for adding me to your friends list
(view all replies)Comment Reply
very complicated stuff. bravo archmage!
(view all replies)Comment Reply
i like this
(view all replies)Comment Reply
runeking.. thats sooo not simple!
(view all replies)Comment Reply
lol its so symple but so cool
(view all replies)Comment Reply
Cool.
(view all replies)Comment Reply
Your on my site (go to www.downloadablegamemaker.co.nr)
(view all replies)Comment Reply
*sob* WAAAAAAAAAAA! lol!
(view all replies)Comment Reply
Lol, don't make a big deal out of it :P
(view all replies)Comment Reply
I'll even flag my own comments now.
(view all replies)Comment Reply
And I said sorry.
(view all replies)Comment Reply
Sorry. I wasn't bragging. I was joking, and building upon someone else's remark. Basically, commenting. It was a comment, right?
(view all replies)Comment Reply
No one wants to hear you brag.
(view all replies)Comment Reply
BTW, sorry to ruin the conversation. Just had to blurt it out. IamalsoaBlendermasterandIalsoknowBatch Whoopsee...
(view all replies)Comment Reply
I do all of my coding in Eclipse SDK :P *Just responding to the "Almost no one on here knows any real programming languages" remark, I currently know: Java, C++, Python, BASIC, HTML, CSS, Javascript, Groovy, XML, Assembly, Smalltalk. I can also program an Arduino decimilla microcontroller board. That adds up to 12 programming languages. HA! :P
(view all replies)Comment Reply
Umm try casting the Math.random into an int type. x= (int) (Math.random()*11);
(view all replies)Comment Reply
I just tried running it again and it says "Possible Loss of Precision" "Found: Double D" "Required: Int" Is there anything wrong with the program? public class Random { public static void main (String[] args) { int x = Math.random()*11; System.out.println("The Value of x is " + x); }
(view all replies)Comment Reply
Could you tell me some more about JAVA?
(view all replies)Comment Reply
I use CMD
(view all replies)Comment Reply
Ok Thanx. By the way, will you add me to your friends?
(view all replies)Comment Reply
What do you mean? Math.random() just generates a random number from 0 to 1.
(view all replies)Comment Reply
I use a IDE. Also x= Math.random(); works for me everytime.
(view all replies)Comment Reply
So there isn't a way to make it a completely random number with no limits right?
(view all replies)Comment Reply
No i know that, but u cant say x = Math.random it doesn't read it. By the way do you use an IDE or do you just run it from CMD?
(view all replies)Comment Reply
Lol, you don't know Math.random? This is how to make a variable a random number : variable= Math.random()*11; //This will make the variable a random value from 0 to 10.
(view all replies)Comment Reply
public class Loopy { public static void main (String[] args) { int x = 1; System.out.println("Before The Loop"); while (x < 4) { System.out.println("In the loop"); System.out.println("Value of x is " + x); x = x + 1; } System.out.println("This is after the loop."); } } This is one of my first JAVA scripts. And do you know how to make a JAVA variable be a random number? I'm kind of a noob at Java. But I've been in C++ for a long time.
(view all replies)Comment Reply
Oh good. 'Cause some people on here don't know any of that stuff. I know C Java C++ Html and of course Flash
(view all replies)Comment Reply
Yes, I know java,actionscript,pascal, and html.
(view all replies)Comment Reply
Er...This isn't exactly a realistic pendulum. And archmage, do you know Java, or any REAL programming languages???!?!?
(view all replies)Comment Reply
you could make little clkky things with this XD those little plastic balls where you pull one back and then then clak around...keh keh keh ^3^
(view all replies)Comment Reply
A Newton's Cradle! Yay! You can entertain yourself for hours with one of those.
(view all replies)Comment Reply
That would be pretty funny :D
(view all replies)Comment Reply
check out my newest project, i fannly remmeber,ed, i forgot about it al along :(
(view all replies)Comment Reply
note that the movements and slightly cheesy
(view all replies)Comment Reply
yeah, archmage is right. This pendulum is cool! mabye i'll remix itand have a guy who gets whacked after you let go after you pull back. BOOM! Uh oh spaghettio's! Then he'll fall over. MY OPINION
(view all replies)Comment Reply
Hey, I just felt like making it this way.
(view all replies)Comment Reply
But shouldn't this pendulem be like a pendulem on a grandfather clock which keeps on going on and on.
(view all replies)Comment Reply
OMG! You don't know what a chacotic pendulem is? Omg, Omg, Omg. Well just search it up on youtube or something. Your sure your that old?
(view all replies)Comment Reply
Click and drag it.
(view all replies)Comment Reply
nothings happening....
(view all replies)Comment Reply
NICE!!
(view all replies)Comment Reply
that is COOL
(view all replies)Comment Reply
WOAH!
(view all replies)Comment Reply
awesome job
(view all replies)Comment Reply
Whats a chacotic pendulum?
(view all replies)Comment Reply