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

Should a function contain a return statement if it does not return a value?

1080


Tell me about low level programming languages.

1128


What is string function c?

1023


What is the symbol indicated the c-preprocessor?

1244


What is the difference between the expression “++a” and “a++”?

1234


What is assignment operator?

1057


What is the difference between char array and char pointer?

1055


Where are local variables stored in c?

1045


Difference between strcpy() and memcpy() function?

1146


What is anagram in c?

921


What is pointer and structure in c?

1180


what value is returned to operating system after program execution?

2120


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1199


Explain the advantages of using macro in c language?

999


Write a program to use switch statement.

1131