Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

print first nodd numbers in descending order

Answer Posted / prk

void main()
{
int i,n,k;
cout<<"Enter the number:";
cin>>n;
k=n%2;
if(k==0)
n=n-1;

for(i=n;i<=n;i=1-2)
cout<<1;
}

Is This Answer Correct ?    9 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is runtime errors c++?

1065


What is c++ redistributable?

1167


Can I uninstall microsoft c++ redistributable?

1037


Explain linked list using c++ with an example?

1021


What is endianness?

1041


What is the best c++ compiler for windows 10?

985


How would you use the functions randomize() and random()?

1022


What is capacity in vector in c++?

933


What are arithmetic operators?

940


Can we use clrscr in c++?

1023


What is the most common mistake on c++ and oo projects?

926


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

3592


When does a 'this' pointer get created?

1033


Can we run c program in turbo c++?

1040


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

2293