answersLogoWhite

0


Best Answer

printf("1 3 5 7 9\n");

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Program that display the first 5 odd numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the first 20 odd numbers?

The first 20 odd numbers are: 13579111315171921232527293133353739.


Write a java script program to print first ten odd natural numbers in C?

Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.


Write a C program to display odd numbers from 1 to n where n is accepted from user?

#include<stdio.h> main() { int i=0,j=0,n; printf("Enter a number:"); scanf("%d",&n); printf("The first %d odd numbers are:-\n"); for(i=0;i<=n;i++) { if(j%2!=0) printf("%d\n"j); j=j+1; } }


What are the first 100 odd numbers?

The first 100 odd whole numbers are: 13579111315171921232527293133353739414345474951535557596163656769717375777981838587899193959799101103105107109111113115117119121123125127129131133135137139141143145147149151153155157159161163165167169171173175177179181183185187189191193195197199.


Which are the first 85 odd numbers?

The first 85 odd numbers are: 1 3579111315171921232527293133353739414345474951535557596163656769717375777981838587899193959799101103105107109111113115117119121123125127129131133135137139141143145147149151153155157159161163165167169.


What is the sum of the first fifteen odd numbers?

The sum of the first 15 odd numbers is 225.


Sum of the first 100 odd numbers?

The sum of the first 100 odd numbers is 10,000.


What is the sum of first 300 odd numbers?

The sum of the first 300 odd numbers is 90,000


What is the sum of the first 40 odd numbers?

The sum of the first 40 odd numbers is 1,600.


What is the sum of the first 1000 odd numbers?

The sum of the first 1,000 odd numbers is 1,000,000.


What is the sum of the first 50 odd numbers?

The sum of the first 50 odd numbers is 2,500.


What is the sum of the first 600 odd numbers?

The sum of the first 600 odd numbers is 360,000.