Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I WILL UPVOTE C++ Question: Scenario: Now a days most of the enterprises have their own electricity generators. There is requirement of a monitoring system

I WILL UPVOTE

C++

image text in transcribed

Question: Scenario: Now a days most of the enterprises have their own electricity generators. There is requirement of a monitoring system to monitor the fuel level in generator. A company is developing a product to monitor the available fuel in the generators. They have designed a system based on multiple level sensors which will be fit in the fuel tank. The overall fuel tank is divided in two five segments and five different sensors are installed in these segments. These sensors are digital sensors and provide the output as Boolean logic (True or False). In case sensor detects the fuel, its output is True otherwise its false. The hardware team have completed the overall system and now they required a computer program/software for this purpose. 100% Sensor 1 Display/Screen 75% Sensor 2 1 50% Sensor 3 Computer 25% Sensor 4 1 11 Dead Level Sensor 5 Sensors Fuel Tank Table-1 Level Sensor-1 Sensor-2 Sensor-3 Sensor-4 Sensor-5 Full True True True True True 3/4 False True True True True Half False False True True True Quarter False False False True True Dead Level False False False False True Apply the programming logic constructs and develop a program for given specifications. Your program will get the different values (sensors data) as an input, and display the current level of the tank

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_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions