Computer Science, asked by yasmin50, 1 year ago

write a program to print the table of 7 in decreasing amd increasing order

Answers

Answered by jainaditya0411
1

#include<stdio.h>


void main()

{

   int i,a;

  printf("\n table of 7 in decreasing order\n \n");

  for(i=10;i>0;i--)

  {

      a= 7*i;

      printf("%d \n",a);

   }

   printf("table of 7 in increasing order\n \n");

  for(i=1;i<11;i++)

  {

      a= 7*i;

      printf("%d \n",a);

   }

}


jainaditya0411: pls mark me briniest
jainaditya0411: pls mark me brainliest
Similar questions