hey all...i have a homework and really i don't know how to solve this questions ...this is a period of exams and i don't have enough time to do alot of homeworks..please help me..

Q1) Using loops...