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 / guest

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{clrscr();
int a,i,r=0;
scanf("%d",&a);

for(i=a;i>0;i--)
r=r-9;
r=abs(r);
printf("%d",r);
getch();
}

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is %g in c?

1017


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1645


why return type of main is not necessary in linux

2042


What are the advantages of c preprocessor?

1208


How to establish connection with oracle database software from c language?

2141


How do you redirect a standard stream?

1049


given post order,in order construct the corresponding binary tree

2723


Differentiate between a for loop and a while loop? What are it uses?

1131


What are the types of pointers?

1032


What does s c mean on snapchat?

1037


What is the description for syntax errors?

1095


What is d'n in c?

1071


Explain the properties of union. What is the size of a union variable

1129


Give me the code of in-order recursive and non-recursive.

1319


int i=10; printf("%d %d %d", i, i=20, i);

1548