---------------------- <a href="http://www.itheima.com"target="blank">ASP.Net+Unity开发</a>、<a href="http://www.itheima.com"target="blank">.Net培训</a>、期待与您交流! ----------------------
//试题:1`100之间 7的倍数的个数。并打印
package 练习;public class test2 {
public static void main(String[] args)
{
int y = 0 ;
for(int x = 1;x<=100;x++)
{
if (x%7==0)
{
y++;
System.out.pri