English, asked by wasimkhan1996, 4 months ago


2. Write a program to input first 10 odd numbers using loop statement and print numbers in
descending order.​

Answers

Answered by jaiswalranjana854
0

Answer:

#include<stdio.h> int main() { int n, i, a; printf("Enter a number:"); scanf("%d", &n); printf("List in descending order:"); for (i = n - 1; i >= 0; i--) { a = 1 + i * 2;

Similar questions