Table of Contents
When the above code was executed, it produced the following output
1
2
3
4
5
6
7
8
9
10
(11, 105)
(12, 110)
(13, 115)
(14, 120)
(15, 125)
(16, 130)
(17, 135)
(18, 140)
(19, 145)
(20, 150)
(21, 155)
(22, 160)
(23, 165)
(24, 170)
(25, 175)
(26, 180)
(27, 185)
(28, 190)
(29, 195)
(30, 200)
(31, 205)
(32, 210)
(33, 215)
(34, 220)
(35, 225)
(36, 230)
(37, 235)
(38, 240)
(39, 245)
(40, 250)
End of the loop
2. Print first ten triangular number using whileloop in python
Related post
Multiply two numbers in Java using scanner| 5 different ways In this article, we will…
5 Different ways to Divide two numbers in Java using scanner In this article, we…
Learn 8 Ways to Subtract Two Numbers Using Methods in Java In this article, we…
10 ways to subtract two numbers in Java In this article, we will discuss the…
Java Code Examples – Multiply Two Numbers in 5 Easy Ways In this article, we…
How to Divide two numbers in Java| 5 different ways In this article, we will…
This website uses cookies.