/** * Created by Sandy.Liu on 2018/7/19. * Thinking in java, version 4, chapter 4, practice 1 * Write a program to print from 1 to 100 */public class Chap4Prac1Printfrom1To100 { public static void main(String[] args){ for(int i=1;i<=100;i++) P.print(…