On running the above program, you will get the following output: Some More Programs Program: To print a pattern using for loop. On running the above program, you will get the following output: 90 DigiCode AI-VIII