Question: using c++ Write an if/else conditional block that compares the value of the variables soldYesterday and soldToday, and based upon that comparison assigns salesTrend the
using c++
Write an if/else conditional block that compares the value of the variables soldYesterday and soldToday, and based upon that comparison assigns salesTrend the value -1 or 1. -1 represents the case where soldYesterday is greater than soldToday; 1 represents the case where soldYesterday is not greater than soldToday.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
