b) Write a program to print the series. 50 40 30
Answers
Answered by
3
Answer:
program to print the series. 50 40 30
Explanation:
hope it helps you ✌✌✔.
Answered by
0
Answer:
Program to print series 10 20 30 40 50 ... N for the given value of N.
For example, if N=5, output should be
10 20 30 40 50
#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