Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package fibbonaci;
- import java.util.Scanner;
- /**
- *
- * @author Jake
- */
- public class Fibbonaci {
- static Scanner scan = new Scanner(System.in);
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- int pounds, days;
- System.out.println("Today, we are going to calculate the growth of "
- + "green crud");
- System.out.println("Please enter the initial size (in lbs) followed by "
- + "the amount of days we will allow it to grow.");
- pounds = scan.nextInt();
- days = scan.nextInt();
- for(int ii = 0; ii >= days; ii++){
- if(ii % 5 = 0){
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement