Harmon/Sept08

From JavaWIDE Sandbox

Jump to: navigation, search

01 package Harmon;
02 
03 
04 /**
05  * All about my application.
06  @author bharmon
07  */
08 public class Sept08
09 {
10   public static void mainString[] args )
11   {
12     System.out.println seeMovie 3) );
13     System.out.println seeMovie 5) );
14     
15     
16     
17   }
18   
19   public static void getFightSong()
20   {
21     System.out.println "Go, team, go!" );
22     System.out.println "You can do it." );
23     System.out.println "You're the best," );
24     System.out.println "In the west." );
25     
26     
27     
28     
29   }
30   
31   
32   public static void Lanterns()
33   {
34     System.out.println "*****" );
35     System.out.println "*********" );
36     System.out.println "*************" );
37   }
38   
39   public static void Lanterns1 ()
40   {
41     System.out.println "* | | | | | *" );
42     System.out.println "*************" );
43     
44   }
45   
46   public static String seeMovie double price, int stars )
47   {
48     if price <= )
49     {
50       return "very interested";
51       
52     }
53     else if price >= 12 && stars == )
54     {
55       return " sort of interested";
56       
57     }
58     else if price >= 12 && stars == )
59     {
60       return " very interested";
61     }
62     else if ( ( price >= && price <= 11.99 && stars >= && stars <= ) )
63     {
64       return " sort of interested";
65     }
66     else
67     {
68       return "not interested";
69     }
70     
71   }
72 }


Download/View Harmon/Sept08.java





Views
Personal tools
Add to 
del.icio.usAdd to 
diggAdd to 
FacebookAdd to 
favoritesAdd to 
GoogleAdd to 
MySpaceAdd to 
PrintAdd to 
SlashdotAdd to 
StumbleUponAdd to 
Twitter