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
How important is structure in life?
how many key words availabel in c a) 28 b) 31 c) 32
What are the standard predefined macros?
What is function definition in c?
How do you convert strings to numbers in C?
What is volatile, register definition in C
What is include directive in c?
Do you know what are the properties of union in c?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
What is union in c?
What is the usage of the pointer in c?
What is a macro, and explain how do you use it?
Can a variable be both const and volatile?
What is n in c?
What is a dynamic array in c?