Professional Documents
Culture Documents
Skilling Exercise 3: 2000030630 M.Sai Rahul: VACCINES IN INDIA (Data Hiding Vaccine)
Skilling Exercise 3: 2000030630 M.Sai Rahul: VACCINES IN INDIA (Data Hiding Vaccine)
Sai Rahul
VACCINES IN INDIA (Data Hiding Vaccine)
As the second wave of covid-19 cases in India is not under control. The central cabinet of
ministers had a meeting and decided to increase the vaccine production.
As present companies do not have the required infrastructure to ramp up the vaccine
production. The officials decided to share the information of 2 vaccine formula’s (Bharath
biotech and Serum institute) to other reputed companies in India.
The companies and officials also do have a fear of the vaccine information might get
manipulated, due to the risk of losing the information to the third-parties the company
decided to develop a program such that only vaccine formula is visible to the end user, but
cannot manipulate the data.
Note: - As the formula is very highly sensible data the company had to keep it as private.
CODE:
package lab;
import java.util.Scanner;
boolean b=true;
while(b) {
System.out.println("---Vaccines formula---");
System.out.println("1. Bharat Biotech ");
System.out.println("2. Serum Institue ");
System.out.println("Enter Your Choice");
int option=sc.nextInt();
switch(option) {
case 1 :
System.out.print("Bharath Biotech
vaccine Formula :");
System.out.print(v.getBharatfomula()+"\n");
break;
case 2 :
System.out.print("Serum vaccine
formula :");
System.out.print(v.getSerumformula()+"\n");
break;
default :
System.out.print("Please enter a
valid Option ");
b=false;
}
}
sc.close();
}
OUTPUTS: