Aron Gaspar

Greenhorn
+ Follow
since Mar 11, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aron Gaspar

Hello,
So my problem is that "else" is not showing the text after it.
The problem is about leap years. When I write in a random year, and the conditions are met, it writes the "if" correctly. However when I write in a non-leap year, the "else" is not working.
4 days ago

Junilu Lacar wrote:The idiom for iterating 100 times in Java is


Try to write idiomatic code so other people won't have to do a double take on your code.


ah okay, ill try this one quickly
1 week ago

Junilu Lacar wrote:Please don't post code as images. UseCodeTags instead.


1 week ago

Carey Brown wrote:Can you post the code you have so far?


sure
1 week ago

Carey Brown wrote:What constitutes a '1' or a '2'?


1 for heads and 2 for tails
1 week ago
Hello,
The problem goes like this: Make the program throw the coin 100 times. Then sum the 1s and 2s. I succesfully made the throwing part with Math.random and for, but how can I sum the output 1s and 2s?
1 week ago