Write a program that calculates and displays all factors of a number with a function

Can you help me understand this Html / CSS question?

Write a program that calculates and displays all factors of a number with a function. A factor is any number that divides into a number evenly.

For examples: Factors of 20 are 1,2,4,5,10,20

For the program:

  1. Prompt the user for a number or use an input
  2. Call a function to calculate all factors using loops and conditionals and modulus
  3. Display all factors to the page

Bonus +5

If the factor is Even : Print it in Green

If The Factor is Odd : Print it in Red

  • Best Nursing Writers
  • Best Nursing Writing Company
  • Buy a Nursing Essay
  • Capstone Project Writing Services
  • CHEAP NURSING ASSIGNMENTS
  • Cheap Thesis Writing Nurses
  • Community Health
  • Course Work
  • Document Formatting Services
  • Family Health Nursing
  • Fundamentals of Nursing
  • Geriatrics
  • GRADUATES CAPSTONE PROJECT
  • Health & Human Ecology
  • Human Bio-Sciences
  • Human Physiology
  • Industry Warning and Guidance!
  • Legit Nursing Writing Company
  • Medical Writing Services
  • Mental Health & Psychiatry
  • Nursing Assignment Help
  • Nursing Bibliography
  • Nursing Case Study
  • Nursing Coursework Help
  • Nursing Dissertation Writing Services
  • Nursing Essay/Personal Statement
  • Nursing Essays
  • Nursing Freelance Writers
  • Nursing Practitioners
  • Nursing Report Writing
  • Nursing Surgery
  • Nursing Term Paper Writing
  • Nursing Thesis Writing

©  2020 Nursingpaperspros.com