a)assigne the sum of x and y to z and increment the value of x by 1 after calculation
b)Test if the value of the varaible count is greater then 10.if it is ,print ”count is greater then 10”.
c)Decrement the varable x by 1 then subtract it from the varable total
d)Calculate the remainder after q is divided by divisor and assign the result to q,Write this statement in two different ways.
These are some question with which i need some help , about the part (b) it will be done just comparing the value of variable with 10 and if its greater then i should just print it rite?



LinkBack URL
About LinkBacks




. This is used for getting the remainder of a number. It then wants you to assign the results to the variable q, and write it in two different ways. You can use a short hand way (like the ones I've been using) and the long hand way (like the ones in the comments), an example of modulus: