to display series upto 10 terms : 11,22,33,44....
CLS
A = __
B = 1
WHILE B<=10
PRINT _______
A = A + 11
B = B + 1
_________
Answers
Answered by
0
public class series
{
public static void main (String args [])
{
for( i=11 ; i<=110 ; i+=11 )
{
System.out.print(i);
System.out.print(" ");
}
}
this is a module from java using single variable.......
Answered by
0
Python Programm:
for i in range(1,11):
if i!=10:
print(i*11, end=",")
else:
print(i*11)
Here, a for loop is used for repeating the multiplication and a range is used to generate 10 consecutive numbers.
Similar questions