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 .
Nuclear Fusion reactors may reach the prototype commercial stage
, The causes and possible treatment of Alzheimers Disease and Partial cloning of human organs for transplant therapy
Explanation:
Fusion may be an energy technology that seems to be perpetually coming over the horizon, but projects around the world such as SPARC are getting increasingly close to reactors that, although smaller in capacity, can produce net positive power in just a few years. To help accelerate discovery of permanent cure for Alzheimers, an alliance of pharmaceutical companies, nonprofit foundations and government advisers, has developed a partnership to share data from Alzheimer's clinical trials. This would definitely pave way for the permanent cure for Alzheimer. The most common method of therapeutic and reproductive cloning is somatic cell nuclear transfer (SCNT). SCNT involves separating the nucleus from a donor egg, and replacing it with the DNA from the organism meant to be cloned. Scientists could potentially clone organs with SCNT by cloning embryos, extracting the stem cells from the blastocyst, and stimulating the stem cells to differentiate into the desired organ. these three scientific and technological advancements are possible.
people use more electricity in the nigth time because people use their ligths at nigth as well as street ligths and other nigth time ligths
Answer:
credits = (credits < 0) ? 0 : credits;
Explanation:
This is the ternary conditional operator.
Answer:
The file type that uses equations instead of pixels are D.EPS or vector files
Explanation: