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
Can we declare function inside main?
What are reserved words?
What is the meaning of 2d in c?
What Is The Difference Between Null And Void Pointer?
Can a function argument have default value?
What is the right type to use for boolean values in c? Is there a standard type?
Explain how can I convert a string to a number?
What is memcpy() function?
What do you mean by invalid pointer arithmetic?
What is the difference between test design and test case design?
How can I sort a linked list?
What are the properties of union in c?
Why does notstrcat(string, "!");Work?
Write a program to implement queue.
explain what is fifo?