Need little help {newbie)

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?