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...

multiple of 9 without useing +,* oprator

Answer Posted / jeke kumar gochhayat

this program is for any no
#include<stdio.h>
void main()
{
int n,k,c,l,i;
printf("enter the no");
scanf("%d",&n);
printf("which no of multiple u want");
scanf("%d",&l);
k=n;c=n;
for(i=1;i<l;i++)
{
while((n--)>0)
k++;
n=c;
}
printf("the multiple=%d",k);
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write programs for String Reversal & Palindrome check

1064


What is the c language function prototype?

1088


What is hungarian notation? Is it worthwhile?

1228


When do we get logical errors?

1132


Why c is a mother language?

1043


What is pragma in c?

1219


Explain what is the purpose of "extern" keyword in a function declaration?

1075


What are the types of bitwise operator?

1117


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

1118


Explain pointer. What are function pointers in C?

1086


what is stack , heap ,code segment,and data segment

2702


What is oops c?

1256


Explain zero based addressing.

1038


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1325


Are there constructors in c?

1012