Write a program to check whether a given number is an ugly number.¬†Ugly numbers are positive numbers whose prime factors only include 2, 3, 5… 139 more words