program in java to print numbers between 100 and 200 which do not contain zero
Answers
Answered by
20
Answer:
class program
{
int main( )
{
int u, t, h;
for(int i=100; i<=200; i++)
{
u=i%10;
t=(i/10)%10;
h=i/100;
if(u!=0 && t!=0 && h!=0)
{
System.out.println(+i);
}
}
return 0;
}
}
Explanation:
PLEASE MARK ME AS THE BRAINLIEST!!!
PLEASE UNDERSTAND MY FEELINGS!!!
Similar questions