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

Can we declare function inside main?

1050


What are reserved words?

1159


What is the meaning of 2d in c?

1168


What Is The Difference Between Null And Void Pointer?

1334


Can a function argument have default value?

1210


What is the right type to use for boolean values in c? Is there a standard type?

1061


Explain how can I convert a string to a number?

1148


What is memcpy() function?

1167


What do you mean by invalid pointer arithmetic?

1130


What is the difference between test design and test case design?

2133


How can I sort a linked list?

1086


What are the properties of union in c?

1111


Why does notstrcat(string, "!");Work?

1207


Write a program to implement queue.

1172


explain what is fifo?

1135