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
What are the different types of errors?
What is the main difference between calloc () and malloc ()?
What is scanf () in c?
What is a function simple definition?
How do I round numbers?
What is a class c rental property?
What is an lvalue?
Which is more efficient, a switch statement or an if else chain?
What is the use of structure padding in c?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
What is the difference between c and python?
What is the concatenation operator?
Is stack a keyword in c?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What is difference between constant pointer and constant variable?