On running the above program, you will get the following output: SOME MORE PROGRAMS Program 9: To print a pattern using for loop. On running the above program, you will get the following output: 46 Touchpad MODULAR (Version 1.0)