Can you complete the for loop that prints all multiples of 3 between - ProProfs Discuss
Topics
Products
Follow Us:

Can you complete the for-loop that prints all multiples of 3 between 10 and 51 (both inclusive), in descending order (that is, starting from 51)?





A. $i%3 == 0
B. $i%3==0
C. $i % 3 == 0

This question is part of PHP Programming Quiz
Asked by Woanleng, Last updated: Jul 28, 2020

+ Answer
Request

2 Answers

John Adney

John Adney

Answered Sep 18, 2017

Only the number 51 will beprinted. bad answers here. words,words,words...

 

John Smith

John Smith

Answered Feb 16, 2017

$i%3 == 0
$i%3==0
$i % 3 == 0
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.