Question
Develop a complete c-programming codes for below situation A bottle water factory plans to install a new system that can fill 3 type of bottle
Develop a complete c-programming codes for below situation
A bottle water factory plans to install a new system that can fill 3 type of bottle with a water. Develop program to assist the factory to run the program. Time taken to machine fill each bottol with water is 3 seconds.
Input: type of bottle , number of bottle and volume of water
Type of bottle | Maximum volume of water | reminder | ||
1 | 500 ml | If volume of water over 500ml warning shown | ||
2 | 1000 ml | If volume of water over 1000ml warning shown | ||
3 | 1500 ml | If volume of water over 1500ml warning shown |
output shown
) ) bottle number=1, fill at second of=0 , volume water=200 bottle number=2, fill at second of=2 volume water=200 bottle number=3, fill at second of=4 , volume water=200 bottle number=4, fill at second of=6 volume water=200 bottle number=5, fill at second of=8 , volume water=200 bottle number=6, fill at second of=10 volume water=200 bottle number=7, fill at second of=12 , volume water=200 bottle number=8, fill at second of=14 volume water=200 bottle number=9, fill at second of=16 , volume water=200 bottle number=10, fill at second of=18, volume water=200
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started