Computer Science, asked by mishrajk1971, 11 months ago

wap to print the first 10 numbers in reverse order​

Answers

Answered by gurukulamdivya
1

Answer: C program to all natural numbers in reverse from n to 1

#include <stdio.h>

int main()

{

   int i, start;

    /* Input start range from user */

   printf("Enter starting value: ");

   scanf("%d", &start);

   for(i=start; i>=1; i--)

   {

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

   }

   return 0;

}

Answered by lenovoideapadanishka
0

import java.util.*;

class reverse

{

public static void main(String args[])

{

Scanner sc=new Scanner(System.in);

int i;

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

System.out.println(i);

}

}

please mark me as the brainliest !!!!

HOPE IT HELPS YOU ^_^

Similar questions