Question: Worth 3 points Write an if/else statement that compares the value of the variables soldYesterday and soldToday, and based upon that comparison assigns sales Trend

 Worth 3 points Write an if/else statement that compares the value

Worth 3 points Write an if/else statement that compares the value of the variables soldYesterday and soldToday, and based upon that comparison assigns sales Trend 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!