Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question: 1 Your inputs should be the number of eye drop medicines, usual waking up time of the patient in a day in 24-hour format,

Question: 1 Your inputs should be the number of eye drop medicines, usual waking up time of the patient in a day in 24-hour format, usual bedtime in 24-hour format, name of the eye drops and how many times you should apply it in a day. Assume the number inputs to be always in integers. Your output should print the times at which the eye drops are to be administered exactly as shown in the sample output. The times should be in a 24-hour format. See the sample input and output below to understand how to take your inputs and how to print your output. Sample Input 1: How many drops? 2 Waking Up time? 8 Bedtime? 23 Eye Drop name: Neopred How many times in a day? 6 Eye Drop name: Besibac How many times in a day? 3 Sample Output 1: *************************************** The Eye drop times are given below: Neopred : 8:00, 10:00, 12:00, 14:00, 16:00, 18:00 ============================== Besibac : 8:00, 13:00, 18:00 ============================== Sample Input 2: How many drops? 2 Waking Up time? 8 Bedtime? 23 Eye Drop name: Freshfil How many times in a day? 4 Eye Drop name: NCL How many times in a day? 6 Sample Output 2: *************************************** The Eye drop times are given below: Freshfil : 8:00, 11:00, 14:00, 17:00 ============================== NCL : 8:00, 10:00, 12:00, 14:00, 16:00, 18:00 ==============================

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago