- 3
Write a program to print bus no brtween 10 to 19 .A bus no is eithervdivisible by 7 and ends with 7 .with java for loop .
Please tell soon .
3 Antworten
+ 1
for (int i =10;i<20;i++)
if (( i%10 == 7)
&& (i%7==0)
System.out.println (i);
Untestet, but shold work ;-)
But in the given Range is no such number!
+ 4
It would be nice to show your own attempts, to facilitate learning.
+ 4
PapaBT
1. Is there such as number?
2. Note the word "either"
3. Don't help home question right away, it's SoloLEARN here not soloANSWER