Featured Post

Menu Driven Programs #2 | Java Programming Project

Write a Program For An Electronic Shop that has announced the following Seasonal Discounts on the purchase of certain items. So, now let us start with our  menu driven programming in java Java programming code    Here we have created a variable 't' To store the Choice of Laptop or Desktop.If-Else loop to check The Discount Available for that Price range on Either Laptop or Desktop and to display an Error message if wrong choice is entered. Finally, We Print the Net Amount to be Paid by using the formula(net=amt-dis). If, you have any questions related , Please Do not Hesitate to contact me and Do make sure to follow my blog. Regards, Adi075  (Author) #PEACEOUT

Menu Driven Programs #1 | Java Programming Project

 *Note only for Mobile Users-Please view This Blog in Landscape Mode*

Question:Write a menu driven program for a pathological laboratory that has the information available about the type of anti-bodies present in a blood sample. Using this information,the blood groups will be identified.

ANTI-BODIES PRESENT                   BLOOD

                                                                 GROUP

ANTI-A             ANTI-B                             

Present              Present                            O

Present              Absent                             B

Absent               Present                            A

Absent               Absent                            AB

 Find The Question Here

Answer:


 So, here we have used Switch Case to make five cases for each Blood Group Type recognized by their Antibodies Present and I have Provided The Compiled Program For Your reference.

If, you have any queries related , Please Do not Hesitate to contact me and Do make sure to follow my blog.

#PEACEOUTRegards,
Adi075 
(Author)

Comments

Post a Comment

Popular posts from this blog

Let Us Talk about Java! #1