From ggc
John,
The problem is that you have code blocks that do not belong to methods. For example the code blocks from lines 126-152 and 153-178 are not part of any method body. It looks like they are part of the advance method body, and therefore need to be enclosed within the methoud body that starts on line 100 and ends on line 125. The big picture is that you are putting in braces where they do not belong. Be sure not to finish the method body until all of the statements you want to execute are enclosed.
-Jam
|
001 packagepackage is used to name the directory or folder a class is in mcclarty;
002
003 importimport means to make the classes and/or packages available in this program fang.*;
004 importimport means to make the classes and/or packages available in this program java.awt.*;
005 importimport means to make the classes and/or packages available in this program java.awt.geom.*;
006
007 /**
008 * All about my game.
009 * @authornull My Name Here
010 */
011 publicpublic is used to indicate unrestricted access (any other class can have access) classclass is a group of fields and methods used for making objects Monty_Hall extendsextends means to customize or extend the functionality of a class Game
012 {open braces start code blocks and must be matched with a close brace
013
014 privateprivate is used to restrict access to the current class only ImageSprite door1;
015 privateprivate is used to restrict access to the current class only ImageSprite door2;
016 privateprivate is used to restrict access to the current class only ImageSprite door3;
017 privateprivate is used to restrict access to the current class only ImageSprite cow;
018 privateprivate is used to restrict access to the current class only ImageSprite money;
019 privateprivate is used to restrict access to the current class only ImageSprite pig;
020 privateprivate is used to restrict access to the current class only StringSprite greeting;
021 privateprivate is used to restrict access to the current class only StringSprite pick;
022 privateprivate is used to restrict access to the current class only StringSprite choice;
023 privateprivate is used to restrict access to the current class only StringSprite lose;
024 privateprivate is used to restrict access to the current class only StringSprite winner;
025 privateprivate is used to restrict access to the current class only intint is the type for whole numbers and it is short for integer doorChosen;
026 privateprivate is used to restrict access to the current class only intint is the type for whole numbers and it is short for integer x;
027
028 /**sets up the game*/
029 publicpublic is used to indicate unrestricted access (any other class can have access) voidvoid means the method does not return a value setup()
030 {open braces start code blocks and must be matched with a close brace
031 doorChosen=this assignment operator makes the left side equal to the right side0;
032 x=this assignment operator makes the left side equal to the right siderandom.nextInt(3)+adds two numbers together or concatenates Strings together1;
033
034 cow=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor ImageSprite ("HappyCow.jpg");
035 cow.setSize(0.35);
036 addSprite (cow);
037
038 money=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor ImageSprite ("Moneys.jpg");
039 money.setSize(0.28);
040 addSprite(money);
041
042 pig=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor ImageSprite ("PigArt.jpg");
043 pig.setSize(0.35);
044 addSprite(pig);
045
046 door1=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor ImageSprite ("McClarty_Door1.jpg");
047 door1.setLocation (0.15, 0.5);
048 door1.setSize(0.4);
049 addSprite(door1);
050
051 door2=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor ImageSprite ("McClarty_Door2.jpg");
052 door2.setLocation (0.5, 0.5);
053 door2.setSize(0.4);
054 addSprite(door2);
055
056 door3=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor ImageSprite ("McClarty_Door3.jpg");
057 door3.setLocation (0.85, 0.5);
058 door3.setSize(0.4);
059 addSprite(door3);
060
061 greeting=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor StringSprite("Let's Make a Deal!")
062 ;
063 greeting.setLocation (0.5,0.1);
064 greeting.setSize(0.5);
065 greeting.setColor (Palette.getColor("Yellow"));
066 addSprite(greeting);
067
068 pick=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor StringSprite("Choose a door...");
069 pick.setLocation (0.5,0.9);
070 pick.setSize(0.5);
071 pick.setColor (Palette.getColor("Yellow"));
072 addSprite(pick);
073
074 choice=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor StringSprite("Stay (s) or Switch (w)??");
075 choice.setLocation (0.5,0.9);
076 choice.setSize(0.5);
077 choice.setColor (Palette.getColor("Red"));
078 addSprite(choice);
079 choice.setVisible(falsefalse is a value for the boolean type and means not true);
080
081 lose=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor StringSprite("You lose! Sorry..");
082 lose.setLocation(0.5,0.9);
083 lose.setSize(0.5);
084 lose.setColor (Palette.getColor("Orange"));
085 addSprite(lose);
086 lose.setVisible(falsefalse is a value for the boolean type and means not true);
087
088 winner=this assignment operator makes the left side equal to the right sidenewnew is used to create objects by calling the constructor StringSprite("You win! Congratulations!");
089 winner.setLocation(0.5,0.9);
090 winner.setSize(0.5);
091 winner.setColor (Palette.getColor("Green"));
092 addSprite(winner);
093 winner.setVisible(falsefalse is a value for the boolean type and means not true);
094
095 generate();
096 }close braces end code blocks and must match an earlier open brace
097
098 publicpublic is used to indicate unrestricted access (any other class can have access) voidvoid means the method does not return a value advance()
099 {open braces start code blocks and must be matched with a close brace
100 door1();
101 door2();
102 door3();
103 }close braces end code blocks and must match an earlier open brace
104
105 /**Sets up the prizes behind random doors*/
106 publicpublic is used to indicate unrestricted access (any other class can have access) voidvoid means the method does not return a value generate()
107 {open braces start code blocks and must be matched with a close brace
108
109 x=this assignment operator makes the left side equal to the right siderandom.nextInt(3)+adds two numbers together or concatenates Strings together1;
110
111 ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same1)
112 {open braces start code blocks and must be matched with a close brace
113 money.setLocation(0.15,0.5);
114 pig.setLocation(0.5,0.5);
115 cow.setLocation(0.85,0.5);
116 }close braces end code blocks and must match an earlier open brace
117 ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same2)
118 {open braces start code blocks and must be matched with a close brace
119 money.setLocation(0.5, 0.5);
120 pig.setLocation(0.85,0.5);
121 cow.setLocation(0.15,0.5);
122 }close braces end code blocks and must match an earlier open brace
123 ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same3)
124 {open braces start code blocks and must be matched with a close brace
125 money.setLocation(0.85,0.5);
126 pig.setLocation(0.15,0.5);
127 cow.setLocation(0.5,0.5);
128 }close braces end code blocks and must match an earlier open brace
129 }close braces end code blocks and must match an earlier open brace
130
131 /**handle input and game events forfor is a looping structure for repeatedly executing a block of code door1*/
132 publicpublic is used to indicate unrestricted access (any other class can have access) voidvoid means the method does not return a value door1()
133 {open braces start code blocks and must be matched with a close brace
134 ifif executes the next statement only if the condition in parenthesis evaluates to true(getClick2D()!=this is the not equals operator which evaluates to true if both sides are differentnullnull is the value used to refer to a non-existant object &this performs a bit-wise and (not the same as boolean and which is &&)&this performs a bit-wise and (not the same as boolean and which is &&) door1.intersects(getClick2D()))
135 {open braces start code blocks and must be matched with a close brace
136 doorChosen++this is the increment operator, which increases the variable by 1;
137 }close braces end code blocks and must match an earlier open brace
138 ifif executes the next statement only if the condition in parenthesis evaluates to true(doorChosen==this is the comparison operator which evaluates to true if both sides are the same1)
139 {open braces start code blocks and must be matched with a close brace
140 ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same1)
141 {open braces start code blocks and must be matched with a close brace
142 door3.setVisible(falsefalse is a value for the boolean type and means not true);
143 pick.setVisible(falsefalse is a value for the boolean type and means not true);
144 choice.setVisible(truetrue is the boolean value that is the opposite of false);
145 }close braces end code blocks and must match an earlier open brace
146 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 's')
147 {open braces start code blocks and must be matched with a close brace
148 door1.setVisible(falsefalse is a value for the boolean type and means not true);
149 door2.setVisible(falsefalse is a value for the boolean type and means not true);
150 choice.setVisible(falsefalse is a value for the boolean type and means not true);
151 winner.setVisible(truetrue is the boolean value that is the opposite of false);
152
153 }close braces end code blocks and must match an earlier open brace
154 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 'w')
155 {open braces start code blocks and must be matched with a close brace
156 door1.setVisible(falsefalse is a value for the boolean type and means not true);
157 door2.setVisible(falsefalse is a value for the boolean type and means not true);
158 lose.setVisible(truetrue is the boolean value that is the opposite of false);
159 choice.setVisible(falsefalse is a value for the boolean type and means not true);
160 }close braces end code blocks and must match an earlier open brace
161 elseelse is what happens when the if condition is false ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same2)
162 {open braces start code blocks and must be matched with a close brace
163 door3.setVisible(falsefalse is a value for the boolean type and means not true);
164 pick.setVisible(falsefalse is a value for the boolean type and means not true);
165 choice.setVisible(truetrue is the boolean value that is the opposite of false);
166 }close braces end code blocks and must match an earlier open brace
167 ifif executes the next statement only if the condition in parenthesis evaluates to true(getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 's')
168 {open braces start code blocks and must be matched with a close brace
169 door1.setVisible(falsefalse is a value for the boolean type and means not true);
170 door2.setVisible(falsefalse is a value for the boolean type and means not true);
171 lose.setVisible(truetrue is the boolean value that is the opposite of false);
172 choice.setVisible(falsefalse is a value for the boolean type and means not true);
173 }close braces end code blocks and must match an earlier open brace
174 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 'w')
175 {open braces start code blocks and must be matched with a close brace
176 door1.setVisible(falsefalse is a value for the boolean type and means not true);
177 door2.setVisible(falsefalse is a value for the boolean type and means not true);
178 winner.setVisible(truetrue is the boolean value that is the opposite of false);
179 choice.setVisible(falsefalse is a value for the boolean type and means not true);
180 }close braces end code blocks and must match an earlier open brace
181 elseelse is what happens when the if condition is false ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same3)
182 {open braces start code blocks and must be matched with a close brace
183 door2.setVisible(falsefalse is a value for the boolean type and means not true);
184 pick.setVisible(falsefalse is a value for the boolean type and means not true);
185 choice.setVisible(truetrue is the boolean value that is the opposite of false);
186 }close braces end code blocks and must match an earlier open brace
187 ifif executes the next statement only if the condition in parenthesis evaluates to true(getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 's')
188 {open braces start code blocks and must be matched with a close brace
189 door1.setVisible(falsefalse is a value for the boolean type and means not true);
190 door3.setVisible(falsefalse is a value for the boolean type and means not true);
191 lose.setVisible(truetrue is the boolean value that is the opposite of false);
192 choice.setVisible(falsefalse is a value for the boolean type and means not true);
193 }close braces end code blocks and must match an earlier open brace
194 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 'w')
195 {open braces start code blocks and must be matched with a close brace
196 door1.setVisible(falsefalse is a value for the boolean type and means not true);
197 door3.setVisible(falsefalse is a value for the boolean type and means not true);
198 winner.setVisible(truetrue is the boolean value that is the opposite of false);
199 choice.setVisible(falsefalse is a value for the boolean type and means not true);
200 }close braces end code blocks and must match an earlier open brace
201 }close braces end code blocks and must match an earlier open brace
202 }close braces end code blocks and must match an earlier open brace
203
204 /**handle input and game events forfor is a looping structure for repeatedly executing a block of code door2*/
205 publicpublic is used to indicate unrestricted access (any other class can have access) voidvoid means the method does not return a value door2()
206 {open braces start code blocks and must be matched with a close brace
207 ifif executes the next statement only if the condition in parenthesis evaluates to true(getClick2D()!=this is the not equals operator which evaluates to true if both sides are differentnullnull is the value used to refer to a non-existant object &this performs a bit-wise and (not the same as boolean and which is &&)&this performs a bit-wise and (not the same as boolean and which is &&) door2.intersects(getClick2D()))
208 {open braces start code blocks and must be matched with a close brace
209 doorChosen++this is the increment operator, which increases the variable by 1;
210 }close braces end code blocks and must match an earlier open brace
211 ifif executes the next statement only if the condition in parenthesis evaluates to true(doorChosen==this is the comparison operator which evaluates to true if both sides are the same2)
212 {open braces start code blocks and must be matched with a close brace
213 ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same1)
214 {open braces start code blocks and must be matched with a close brace
215 door3.setVisible(falsefalse is a value for the boolean type and means not true);
216 pick.setVisible(falsefalse is a value for the boolean type and means not true);
217 choice.setVisible(truetrue is the boolean value that is the opposite of false);
218 }close braces end code blocks and must match an earlier open brace
219 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 's')
220 {open braces start code blocks and must be matched with a close brace
221 door1.setVisible(falsefalse is a value for the boolean type and means not true);
222 door2.setVisible(falsefalse is a value for the boolean type and means not true);
223 lose.setVisible(truetrue is the boolean value that is the opposite of false);
224 choice.setVisible(falsefalse is a value for the boolean type and means not true);
225 }close braces end code blocks and must match an earlier open brace
226 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 'w')
227 {open braces start code blocks and must be matched with a close brace
228 door1.setVisible(falsefalse is a value for the boolean type and means not true);
229 door2.setVisible(falsefalse is a value for the boolean type and means not true);
230 winner.setVisible(truetrue is the boolean value that is the opposite of false);
231 choice.setVisible(falsefalse is a value for the boolean type and means not true);
232 }close braces end code blocks and must match an earlier open brace
233 elseelse is what happens when the if condition is false ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same2)
234 {open braces start code blocks and must be matched with a close brace
235 door1.setVisible(falsefalse is a value for the boolean type and means not true);
236 pick.setVisible(falsefalse is a value for the boolean type and means not true);
237 choice.setVisible(truetrue is the boolean value that is the opposite of false);
238 }close braces end code blocks and must match an earlier open brace
239 ifif executes the next statement only if the condition in parenthesis evaluates to true(getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 's')
240 {open braces start code blocks and must be matched with a close brace
241 door2.setVisible(falsefalse is a value for the boolean type and means not true);
242 door3.setVisible(falsefalse is a value for the boolean type and means not true);
243 winner.setVisible(truetrue is the boolean value that is the opposite of false);
244 choice.setVisible(falsefalse is a value for the boolean type and means not true);
245 }close braces end code blocks and must match an earlier open brace
246 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 'w')
247 {open braces start code blocks and must be matched with a close brace
248 door2.setVisible(falsefalse is a value for the boolean type and means not true);
249 door3.setVisible(falsefalse is a value for the boolean type and means not true);
250 lose.setVisible(truetrue is the boolean value that is the opposite of false);
251 choice.setVisible(falsefalse is a value for the boolean type and means not true);
252 }close braces end code blocks and must match an earlier open brace
253 elseelse is what happens when the if condition is false ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same3)
254 {open braces start code blocks and must be matched with a close brace
255 door1.setVisible(falsefalse is a value for the boolean type and means not true);
256 pick.setVisible(falsefalse is a value for the boolean type and means not true);
257 choice.setVisible(truetrue is the boolean value that is the opposite of false);
258 }close braces end code blocks and must match an earlier open brace
259 ifif executes the next statement only if the condition in parenthesis evaluates to true(getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 's')
260 {open braces start code blocks and must be matched with a close brace
261 door2.setVisible(falsefalse is a value for the boolean type and means not true);
262 door3.setVisible(falsefalse is a value for the boolean type and means not true);
263 lose.setVisible(truetrue is the boolean value that is the opposite of false);
264 choice.setVisible(falsefalse is a value for the boolean type and means not true);
265 }close braces end code blocks and must match an earlier open brace
266 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 'w')
267 {open braces start code blocks and must be matched with a close brace
268 door2.setVisible(falsefalse is a value for the boolean type and means not true);
269 door3.setVisible(falsefalse is a value for the boolean type and means not true);
270 winner.setVisible(truetrue is the boolean value that is the opposite of false);
271 choice.setVisible(falsefalse is a value for the boolean type and means not true);
272 }close braces end code blocks and must match an earlier open brace
273 }close braces end code blocks and must match an earlier open brace
274 }close braces end code blocks and must match an earlier open brace
275
276
277 /**handle input and game events forfor is a looping structure for repeatedly executing a block of code door3*/
278 publicpublic is used to indicate unrestricted access (any other class can have access) voidvoid means the method does not return a value door3()
279 {open braces start code blocks and must be matched with a close brace
280 ifif executes the next statement only if the condition in parenthesis evaluates to true(getClick2D()!=this is the not equals operator which evaluates to true if both sides are differentnullnull is the value used to refer to a non-existant object &this performs a bit-wise and (not the same as boolean and which is &&)&this performs a bit-wise and (not the same as boolean and which is &&) door3.intersects(getClick2D()))
281 {open braces start code blocks and must be matched with a close brace
282 doorChosen++this is the increment operator, which increases the variable by 1;
283 }close braces end code blocks and must match an earlier open brace
284 ifif executes the next statement only if the condition in parenthesis evaluates to true(doorChosen==this is the comparison operator which evaluates to true if both sides are the same3)
285 {open braces start code blocks and must be matched with a close brace
286 ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same1)
287 {open braces start code blocks and must be matched with a close brace
288 door2.setVisible(falsefalse is a value for the boolean type and means not true);
289 pick.setVisible(falsefalse is a value for the boolean type and means not true);
290 choice.setVisible(truetrue is the boolean value that is the opposite of false);
291 }close braces end code blocks and must match an earlier open brace
292 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 's')
293 {open braces start code blocks and must be matched with a close brace
294 door1.setVisible(falsefalse is a value for the boolean type and means not true);
295 door3.setVisible(falsefalse is a value for the boolean type and means not true);
296 lose.setVisible(truetrue is the boolean value that is the opposite of false);
297 choice.setVisible(falsefalse is a value for the boolean type and means not true);
298 }close braces end code blocks and must match an earlier open brace
299 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 'w')
300 {open braces start code blocks and must be matched with a close brace
301 door1.setVisible(falsefalse is a value for the boolean type and means not true);
302 door3.setVisible(falsefalse is a value for the boolean type and means not true);
303 winner.setVisible(truetrue is the boolean value that is the opposite of false);
304 choice.setVisible(falsefalse is a value for the boolean type and means not true);
305 }close braces end code blocks and must match an earlier open brace
306 elseelse is what happens when the if condition is false ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same2)
307 {open braces start code blocks and must be matched with a close brace
308 door1.setVisible(falsefalse is a value for the boolean type and means not true);
309 pick.setVisible(falsefalse is a value for the boolean type and means not true);
310 choice.setVisible(truetrue is the boolean value that is the opposite of false);
311 }close braces end code blocks and must match an earlier open brace
312 ifif executes the next statement only if the condition in parenthesis evaluates to true(getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 's')
313 {open braces start code blocks and must be matched with a close brace
314 door2.setVisible(falsefalse is a value for the boolean type and means not true);
315 door3.setVisible(falsefalse is a value for the boolean type and means not true);
316 lose.setVisible(truetrue is the boolean value that is the opposite of false);
317 choice.setVisible(falsefalse is a value for the boolean type and means not true);
318 }close braces end code blocks and must match an earlier open brace
319 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 'w')
320 {open braces start code blocks and must be matched with a close brace
321 door2.setVisible(falsefalse is a value for the boolean type and means not true);
322 door3.setVisible(falsefalse is a value for the boolean type and means not true);
323 winner.setVisible(truetrue is the boolean value that is the opposite of false);
324 choice.setVisible(falsefalse is a value for the boolean type and means not true);
325 }close braces end code blocks and must match an earlier open brace
326 elseelse is what happens when the if condition is false ifif executes the next statement only if the condition in parenthesis evaluates to true(x==this is the comparison operator which evaluates to true if both sides are the same3)
327 {open braces start code blocks and must be matched with a close brace
328 door2.setVisible(falsefalse is a value for the boolean type and means not true);
329 pick.setVisible(falsefalse is a value for the boolean type and means not true);
330 choice.setVisible(truetrue is the boolean value that is the opposite of false);
331 }close braces end code blocks and must match an earlier open brace
332 ifif executes the next statement only if the condition in parenthesis evaluates to true(getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 's')
333 {open braces start code blocks and must be matched with a close brace
334 door1.setVisible(falsefalse is a value for the boolean type and means not true);
335 door3.setVisible(falsefalse is a value for the boolean type and means not true);
336 winner.setVisible(truetrue is the boolean value that is the opposite of false);
337 choice.setVisible(falsefalse is a value for the boolean type and means not true);
338 }close braces end code blocks and must match an earlier open brace
339 ifif executes the next statement only if the condition in parenthesis evaluates to true (getKeyPressed() ==this is the comparison operator which evaluates to true if both sides are the same 'w')
340 {open braces start code blocks and must be matched with a close brace
341 door1.setVisible(falsefalse is a value for the boolean type and means not true);
342 door3.setVisible(falsefalse is a value for the boolean type and means not true);
343 lose.setVisible(truetrue is the boolean value that is the opposite of false);
344 choice.setVisible(falsefalse is a value for the boolean type and means not true);
345 }close braces end code blocks and must match an earlier open brace
346
347 }close braces end code blocks and must match an earlier open brace
348 }close braces end code blocks and must match an earlier open brace
349 }close braces end code blocks and must match an earlier open brace
|
Download/View mcclarty/Monty_Hall.java