Question: implement a c++ program using if and else conditional statement only don't use any type of loop moreover each type and functionality should be executed

implement a c++ program using if and else conditional statement only don't use any type of loop moreover each type and functionality should be executed and please do show the output of the program with each functionality being executed do add comments for better understanding and do execute the code on a compiler
Don't hand write it please
B) Write a C++ program to compare two floating point numbers till 5 decimal place precision. If they are same print Both numbers are same, if different print Both numbers are different. N.b use only if else condition to compare two floating point numbers till 5 decimal place precision.
Last weekend you visited a restaurant, after placing a meal order, you were given a glass of drink to be filled by your choice. You go to drink spiller and find five drink options. Each option is attached with four sensors. One for type of the drink and three for the quantity to be spilled. Small Medium Large S2 Coke Suprite Coke Zero Sprite Zero Mirinda CZ SZ M M4 S4 S5 MS Implement a C++ program to show spiller functionality when glass is placed on let's say C sensor, quantity sensors SI, M1 and Llwill be on or off detecting size of placed glass. Using type and quantity sensor readings, machine will fill glass
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
