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
Write programs for String Reversal & Palindrome check
What is the c language function prototype?
What is hungarian notation? Is it worthwhile?
When do we get logical errors?
Why c is a mother language?
What is pragma in c?
Explain what is the purpose of "extern" keyword in a function declaration?
What are the types of bitwise operator?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
Explain pointer. What are function pointers in C?
what is stack , heap ,code segment,and data segment
What is oops c?
Explain zero based addressing.
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Are there constructors in c?