Write a program to display the following series of numbers.
10, 20, 30, ... , 100.
If you answer my question I will Mark you as brainlist
Attachments:
Answers
Answered by
4
Answer:
The following program is in Java:
class Series {
public static void main(String[ ]
args) {
for(int i = 10; i<=100; i*=10) {
System.out.println(i);
}
}
}
Answered by
4
C program....
#include<stdio.h>
void main()
{
int i, N;
printf("Enter N:");
scanf("%d", &N);
for(i=1; i<=N; i++)
{
printf("%d ",i*10);
}
}
Similar questions