All posts must be a minimum of 250-300 words. APA reference. 100% original work. no plagiarism.1. Give an example of if-then, and loop using variables. Explain the danger of endless loop, and how to avoid them. Can an endless loopcreate aDoS (Denial of Service)?