Write an ifelse statement that compares the value of the


Write an if/else statement 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 . 2-Given two integer variables matricAge and gradAge , write a statement that gives gradAge a value that is 4 more than the value of matricAge . 3-Write a single statement that declares a reference variable of type Integer named myInt , creates an object of type Integer with the initial value of 75 , and assigns it to the reference variable.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write an ifelse statement that compares the value of the
Reference No:- TGS0570797

Expected delivery within 24 Hours