# data[].attributes.body
Composite & Prime

# data[].attributes.body
Composite & Prime

# data[].attributes.body
prime and composite numbers

# data[].attributes.body
Adhvait Sharma

# data[].attributes.body
Composite And Prime Numbers

# data[].attributes.body
Factors Code

# data[].attributes.body
Composite and prime numbers

# data[].attributes.attachment_link.readable_text
Factor

# data[].attributes.attachment_link.readable_text
Prime and Composite Numbers

# data[].attributes.attachment_link.title
Critical Thinking Code - Prime and Composite

# data[].attributes.body
Kriteyuu Duggal 8G

# data[].attributes.attachment_link.readable_text
JS

# data[].attributes.attachment_link.readable_text
Factors

# data[].attributes.headline
1. RECAP ACTIVITY  : Correct the code (3 min.) Rewrite the correct code after removing the errors from the code below to find & display the factors of 18 from the highest to lowest number.

# data[].attributes.subject
1. RECAP ACTIVITY  : Correct the code (3 min.) Rewrite the correct code after removing the errors from the code below to find & display the factors of 18 from the highest to lowest number.

# data[].attributes.body
for(var i=1,p=1; i<=18;i++);

{

p*=n;

}

document.write(p+“ is the factor”);

# data[].attributes.headline
2. Critical Thinking Question (5 min.) How will you make the code more efficient?

# data[].attributes.subject
2. Critical Thinking Question (5 min.) How will you make the code more efficient?

# data[].attributes.body
for(var i=1; i<=12;i++)

{

if(12%i==0)

alert( i+ " is a factor of 12");

}

# data[].attributes.body
Write the program code to accept any number from the user. Find and display

1. the factors of that number.

2. count of the factors of that number.

# data[].attributes.body
DRY RUN-ZUBEEN

# data[].attributes.attachment_link.readable_text
JS

# data[].attributes.body
Edited Version

# data[].attributes.attachment_link.readable_text
Factors