Variable Declaration It is possible to declare multiple variables of the same data type on the same line. Ex. double hours, rate, total; Variables may also be initialized…