write a program to find the product of even multiples of 9 from 1 to 500
Answers
Answered by
0
Answer:
Python:
for i in range(1,501):
if(i%2 ==0 & i%9==0):
print(i)
Answered by
1
import java.io.*
class myclass
{
int f=1;
public static void main string(args[])
{
for(int i=1; i<=500; i++)
{
if(i%9*2 == 0)
f=f*i;
}
System.out.println("Product:" + f);
}
}
Mark me as BRAINLIEST if the answer is helpful to you..
If you have any other doubt regarding java follow me and ask the question.
I will follow you and will help you.
Also don't forget to mark me as BRAINLIEST
Similar questions