Print following pattern in a c
9
7 9
5 7 9
3 5 7 9
1 3 5 7 9
Answers
Answered by
0
Answer:
Explanation:
#include <stdio.h>
int main()
{
int i,j;
for(i=0;i<5;i++)
{
int k=9-2*i;
for(j=0;j<=i;j++)
{
printf("%d",k);
k+=2;
}
printf("\n");
}}
Similar questions
Music,
6 months ago
Social Sciences,
6 months ago
Math,
1 year ago
English,
1 year ago
Science,
1 year ago