I will spoon() bomb you lolol.
Don't you have to specify c0n and y0u and LOL?
I tried that, but your loop never runs....
#include <stdio.h>
int c0n = 1;
int y0u = 0;
int LOL()
{
printf("LOL!\n");
return 0;
}
int main()
{
while(c0n > y0u)
{
LOL();
}
return 0;
}
*snaps fingers*Code: [Select]#include <stdio.h>
int c0n = 1;
int y0u = 0;
int LOL()
{
prinft("LOL!\n");
return 0;
}
int main()
{
while(c0n > y0u)
{
LOL();
}
return 0;
}
Untested but should work code.
#include <stdio.h>
int c0n = 31337;
int y0u = 0;
int LOL()
{
printf("LOL! c0n 0wnz yu0\n");
return 0;
}
int main()
{
while(c0n > y0u)
LOL();
return (c0n == 31337); // WILL ALWAYS RETURN TRUE LOL
}
Its my way of doing things, and it helps me keep trac off what code goes in what loop/if/else/ect.
btw, I mistyped 'printf'
I put braces around 1 line code blocks as well, it keeps things imho more organized. :\
public class Main {
int joe = 31337;
int c0n = 0;
public static void main(string args[]) {
while(joe > c0n) {
LOL();
}
}
public static void LOL() {
System.out.println("LOL! joe 0wnz y0u")l
}
}