Create a C program (using the For loop) that prints the numbers in the following format. 10 20 30 40 50 60 70 80 90 100
Answers
Answered by
4
Answer:
#include<stdio.h>
void main()
{
int i, N;
printf("Enter N:");
scanf("%d", &N);
for(i=1; i<=N; i++)
{
printf("%d ",i*10);
}
}
Explanation:
for eg if n=10 means the output should be
10 20 30 40 50 60 70 80 90 100
Answered by
1
Answer:
#include <stdio.h>
int main()
{
int i;
for (i=10;i<=100;i=i+10){
printf("%d",i);
}
}
Explanation:
output: 102030405060708090100
Give thanks, rate, and dont forget to mark as brainliest.
Similar questions