Now try this one using only the block diagram. Hint : study carefully the nested statements in the quadratic equation problem.
use:
double high_preset_value = 35.6;
double low_preset_value = 22.5;
double price; // the current price
Message 1 and 2 should inform the trader whether he is under or above the preset prices.
use:
double high_preset_value = 35.6;
double low_preset_value = 22.5;
double price; // the current price
Message 1 and 2 should inform the trader whether he is under or above the preset prices.