Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.00 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6.  
  7. package fibbonaci;
  8. import java.util.Scanner;
  9. /**
  10.  *
  11.  * @author Jake
  12.  */
  13. public class Fibbonaci {
  14.     static Scanner scan = new Scanner(System.in);
  15.     /**
  16.      * @param args the command line arguments
  17.      */
  18.     public static void main(String[] args) {
  19.         int pounds, days;
  20.         System.out.println("Today, we are going to calculate the growth of "
  21.                                                                 + "green crud");
  22.         System.out.println("Please enter the initial size (in lbs) followed by "
  23.                               + "the amount of days we will allow it to grow.");
  24.         pounds  = scan.nextInt();
  25.         days = scan.nextInt();
  26.         for(int ii = 0; ii >= days; ii++){
  27.            
  28.             if(ii % 5 = 0){
  29.                
  30.             }
  31.         }
  32.        
  33.     }
  34.  
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement