A Java Program To help Find Common Disease among Children.

 

First Read it then use it

import java.io.*;

class corona{public static void main(String args[])throws IOException

{BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println(“This Program Is helpful For Finding Childhood Diseases and its cure”);

System.out.println(“You can use the symptoms as follow: ”);

System.out.println(“1. sore throat”);

System.out.println(“2. ear pain”);

System.out.println(“3. runnynose”);

System.out.println(“4. body pain”);

System.out.println(“5. cough”);

System.out.println(“6. highfever”);

System.out.println (“Kindly enter Your Symptom.”);

String Symptom= br.readLine();

System.out.println(“Your Input was : ”+Symptom);

System.out.println(“ NOTE: These outputs are just our consideration,the actual disease and cure may or may not vary from our outputs. ”);

System.out.println(“Kindly note down the disease and its cure.”);

switch(Symptom)

{

case"sore throat": System.out.println(“Disease is STREPTOCOCCAL(STREP THROAT)”);

System.out.println(“ The cure is you must use a antibiotic or consult a doctor immediately”);

break;

case"ear pain":System.out.println(“Disease is EAR INFECTION”);

System.out.println(“The cure is you must use Amoxicillin Antibiotic or consult a ENT SPECIALIST Immediately”);

break;

case"runnynose":System.out.println(“Disease is BRONCHIOLITIS”); System.out.println(“The cure is you must give the child Acetaminophen ”);

break;

case" body pain":System.out.println(“NO Disease”);

System.out.println(“Cure is use Ibuprofen”);

break;

case"cough":System.out.println(“CONSULT A Doctor Immediately ”);

System.out.println(“use antibiotic or consult a doctor immediately”);

break;

case"highfever":System.out.println(“Disease is COMMON FLU OR COLD OR FEVER”);

System.out.println(“Use crocin tablets or consult a doctor immediately”);

break;

default:System.out.println(“YOU HAVE ENTERED WRONG INPUT, PLEASE CHECK YOUR INPUT ONCE AGAIN”);

}

System.out.println(“You are also advised to consult your doctor if the above help is not working”);

System.out.println(“You can also mail your feedback At asharakeshsah@gmail.com”);

System.out.println(“😊Thank you for using our program.😊”);

System.out.println(“ All rights © reserved 2018-2020 Aditya Sah . Email Id asharakeshsah@gmail.com”); }}

YOU CAN USE 6 SYMPTOMS :
1. sore throat
2. ear pain
3. runnynose
4. body pain
5. cough
6. highfever



You can copy the above program but cannot print it anywhere without my permission.. Copyright © Holded By Aditya Sah    

EMAIL ID - asharakeshsah@gmail.com

LABELS:

BLUE J

CODING

CORONA

HELP

JAVA

PROGRAMMING

SCRIPT

​#tagsClose

Comments

Popular Posts