Can you complete the for loop that prints all multiples of 3 between - ProProfs Discuss
Advertisement

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)?

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)?

Change Image    Delete




Asked by Woanleng, Last updated: Nov 09, 2024

+ Answer
Request
Question menu
Vote up Vote down

2 Answers

John Adney

John Adney

John Adney
John Adney

Answered Sep 18, 2017

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

upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Feb 16, 2017

$i%3 == 0
$i%3==0
$i % 3 == 0
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

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