Answer:
Following are the program in java is given below
import java.util.*; // import package
public class Main // main class
{
public static void main(String[] args) // MAIN FUNCTION
{
Scanner scan2 = new Scanner(System.in);// scanner CLASS
System.out.println("Enter the Grade ");
char GRADE = scan2.next().charAt(0);//Read input by user
if(GRADE=='A' || GRADE=='B' || GRADE=='C' || GRADE=='D' || GRADE=='F' ) // //CHECK CONDITION
{
System.out.println("The GRADE is :" +GRADE); // display grade
}
else // Else block
{
System.out.println(" Input Error"); // display message
}
}
}
Output:
Enter the Grade
D
The GRADE is :D
Explanation:
Following are the description of program
- Create the object of scanner class for read the value of grade by the user .
- Read the value of "GRADE" variable by using the scanner class object scan 2
- Now check the condition in if block if the "GRADE" is 'A' or 'B' or 'C' or 'D' or 'F' then display the value of the GRADE variable otherwise else block is executed and input error message is displayed .
The correct answer for the question that is being presented above is this one: "c. Legend gallery." <span>To format the legend on the chart, use the legend gallery. It is where you can refer for something based on the graph or table or data.</span>
Here are the following choices:
a. Formulas tab
b. Review tab
c. Legend gallery
d.Legend style
Answer:
There are over 15 new pets that can be found in chests and dropped rarely off enemies: Baby Dinosaur, Baby Eater, Baby Hornet, Baby Penguin, Baby Skeletron Head, Baby Snowman, Baby Truffle, Black Cat, Eyeball Spring, Pet Lizard, Pet Parrot, Pet Sapling, Pet Turtle, Squashling, and Tiki Spirit.
Explanation:
There are over 15 new pets that can be found in chests and dropped rarely off enemies: Baby Dinosaur, Baby Eater, Baby Hornet, Baby Penguin, Baby Skeletron Head, Baby Snowman, Baby Truffle, Black Cat, Eyeball Spring, Pet Lizard, Pet Parrot, Pet Sapling, Pet Turtle, Squashling, and Tiki Spirit.