// Here is the required switch statement on response character
switch(response){
case 'y': // case to check if the response is y
cout<<" Your request is being processed ";
case 'n': // case to check for n
cout<<" Than you, anyway for your consideration";
case 'h': // case to check for h
cout<<"Sorry \, no help is currently available.";
default : // default case
cout<< Invalid entry: please try again.";
}
10089 is gonna be your anwser
The best way to represent this information on a web page is to put it on a table. I would use the <table> tag to create the table element. The <tr> tag for creating a series of row elements, the <td> tag to create cell divisions and the <br> tag for a line break.
I would use 10 rows for different plants and 8 columns for different points in time.
<em>Hope this helps :)</em>
I believe the answer is precedent, because establishing precedent is the exact definition that you are looking for. Hope this helps!
Answer:
A lot is wrong with the program given in the question. See the corrected version below:
<em>public class ANot {</em>
<em> public static void main(String[] args) {</em>
<em> int a, b, c;</em>
<em> //Three integers</em>
<em> a = 3; b = 4; c = a + b;</em>
<em> System.out.println("The value of c is " + c);</em>
<em> }</em>
<em>}</em>
Explanation:
Errors:
1. The main method had a semi colon after it. This is wrong
2. An open brace was supposed to follow the main method
3. The declaration of the variables was supposed to end with a semi colon
4. the correct comment style is // and not \\
5. Initialization of variables was supposed to end with semi colons
6. The output statement had C and not c which is the declared and initialized variable..Java is strictly typed
7. Open and closing braces for the class and method wrongly placed