ErrorsCode

code format="java" void setup {

/*Code Block 1*/

//should print out the user's age

in age = 10;

println(age + " is my age!);

//List errors here:

/*Code Block 2*/

/*comment out code block 1

uncomment code block 2

//should print out a quote followed by the author of the quote

String quote = "Everything is always better with sound effects.";

boolean author = "Ms. Cieslinski";

println(quot + " - " + author);

//List errors here with their types:

*/

/*Code block 3*/

//should find the average of two numbers

/*

int a = 5.0;

int b = 3;

int med = (a + b)/3;

//List errors here with their types:

*/

/*Code block 4*/

//should categorize a grade into its letter category

//when you get the code working you should try different values for grade

/*int grade = 95;

if(grade > 90) {

println("A");

}

if(grade > 80 || grade < 90) {

println("B");

}

if(grade > 70 || grade < 80) {

println("C");

}

else {

println("Keep trying!")

}

//List errors here with their types:

*/

}

code