Examlex

Solved

What Will Be the Result of Running the Following Code

question 12

Multiple Choice

What will be the result of running the following code fragment?
Int year = 0;
Double rate = 5;
Double principal = 10000;
Double interest = 0;
While (year < 10)
{
Interest = (principal * year * rate) / 100;
System.out.println("Interest " + interest) ;
}


Definitions:

Gene Pharming

The technique of using genetically modified plants or animals to produce pharmaceutical substances.

Transgenic Farm Animals

Animals that have had their genomes altered by the introduction of genetic material from other species, typically for improving traits such as growth rate, disease resistance, or productivity.

Pharmaceuticals

Substances used in the prevention, diagnosis, or treatment of diseases, often synthesized for medical use.

DNA Fingerprinting

A technique used to identify individuals by characteristics of their DNA, often used in forensic science to match suspects with samples found at a crime scene.

Related Questions