FIND A SOLUTION AT Academic Writers Bay
A veterinarian friend of yours has expressed interest in having program made to help them managetheir clinic. Being that you have some programming skill, you have offered to create a pilot program forthe veterinarian as a proof of concept with the hopes that you will be contracted to create the clinic’sentire system. Currently, the clinic sees a lot of dogs and cats that require one of two specificmedications: Acepromazine and Carprofen. As a pilot project, you will create a program that will helptrack the administration of these two drugs to the pets that are brought in.The program build will be developed in two parts:Part A – Class and Object ImplementationPet ClassDesign a class named Pet that meets the following requirements:• A string property named Name for the pet (default value is “Spot”).o The mutator for Name will check if the new value contains at least one nonwhitespacecharacter otherwise it will throw an exception.• An int property named Age in years for the pet (default value is 1).o The mutator for Age will check if the new value is one (1) or greater before using thenew value otherwise it will throw an exception.• A double property named Weight in pounds for the pet (default value is 5).o The mutator for Weight will check if the new value is five (5) or greater before using thenew value otherwise it will throw an exception.• A string property named Type that indicates if the type of pet is a dog or a cat (default is D forDog).o The mutator for Type will check if the new value is D or C before using the new valueotherwise it will throw an exception.o The accessor for Type will return the string literal Dog if the type is D otherwise it willreturn the string literal Cat.• A no-argument constructor that creates a default pet.• A constructor that creates a pet with a specified name, age, weight, and type.• A method named Acepromazine() that returns as a double the dosage in ml for the sedativeacepromazine.• A method named Carprofen() that returns as a double the dosage in ml for the pain killercarprofen.The dosage calculation is:𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷 (𝑚𝑚𝑚𝑚) = 𝑊𝑊𝑊𝑊𝑊𝑊𝑊𝑊ℎ𝑡𝑡 ∗ 𝑚𝑚𝑚𝑚 𝑝𝑝𝑝𝑝𝑝𝑝 𝑘𝑘𝑘𝑘𝑚𝑚𝑚𝑚𝑚𝑚 𝑝𝑝𝑝𝑝𝑝𝑝 𝑚𝑚𝑚𝑚NOTE: Weight is in kg• For acepromazine, use mg per ml = 10, and mg per kg = 0.03 for dogs and 0.002 for cats.• For carprofen, use mg per ml = 12, and mg per kg = 0.5 for dogs and 0.25 for cats.
- WE OFFER THE BEST CUSTOM PAPER WRITING SERVICES. WE HAVE DONE THIS QUESTION BEFORE, WE CAN ALSO DO IT FOR YOU.
- Assignment status: Already Solved By Our Experts
- (USA, AUS, UK ; CA PhD. Writers)
- CLICK HERE TO GET A PROFESSIONAL WRITER TO WORK ON THIS PAPER AND OTHER SIMILAR PAPERS, GET A NON PLAGIARIZED PAPER FROM OUR EXPERTS
QUALITY: ORIGINAL PAPER – NO PLAGIARISM - CUSTOM PAPER
- non-plagiarized Papers
- 24/7 /365 Service Available
- Affordable Prices
- Any Paper, Urgency, and Subject
- Will complete your papers in 6 hours
- On-time Delivery
- Money-back and Privacy guarantees
- Unlimited Amendments upon request
- Satisfaction guarantee
How It Works
- Click on the “Place Your Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
- Fill in your paper’s requirements in the "PAPER DETAILS" section.
- Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
- Click “CREATE ACCOUNT ; SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
- From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.
AcademicWritersBay.comnbsp;is an easy-to-use and reliable service that is ready to assist you with your papers 24/7/ 365days a year. 99% of our customers are happy with their papers. Our team is efficient and will always tackle your essay needs comprehensively assuring you of excellent results. Feel free to ask them anything concerning your essay demands or Order.
AcademicWritersBay.com is a private company that offers academic support and assistance to students at all levels. Our mission is to provide proficient andnbsp;high quality academic servicesnbsp;to our highly esteemed clients. AcademicWritersBay.com is equipped with competent andnbsp;proficient writersnbsp;to tackle all types of your academic needs, and provide you with excellent results. Most of our writers are holders ofnbsp;master's degreesnbsp;ornbsp;PhDs, which is an surety of excellent results to our clients. We provide assistance to students all over the world.
We provide high quality term papers, research papers, essays, proposals, theses and many others. Atnbsp;AcademicWritersBay.com, you can be sure ofnbsp;excellent gradesnbsp;in your assignments and final exams.