directory structure change, organize by class number as opposed to mod number
Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
This commit is contained in:
1 parent
2a3d6fc042
commit
8683384387
480 files changed
+7
No files matched your search
@@ -0,0 +1,18 @@
|
||||
public class DebugSix1
|
||||
// Start with a penny
|
||||
// Double it every day
|
||||
// How much do you have in a month?
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
double money = 0.01;
|
||||
int day = 1;
|
||||
while(day <= 31)
|
||||
{
|
||||
money = 2 * money;
|
||||
System.out.println("After day " + day +
|
||||
" you have " + money);
|
||||
day++;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user