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
Tell us bitwise shift operators?
What is the difference between a string and an array?
Explain what is the most efficient way to store flag values?
the question is that what you have been doing all these periods (one year gap)
Explain what is gets() function?
Who developed c language?
List some of the dynamic data structures in C?
Explain how can you restore a redirected standard stream?
What is New modifiers?
what is recursion in C
Explain how do you generate random numbers in c?
What are header files in c?
Write a program to print fibonacci series without using recursion?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
write a program for the normal snake games find in most of the mobiles.