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
What is the difference between NULL and NUL?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
What is the difference between near, far and huge pointers?
The difference between printf and fprintf is ?
How can I remove the leading spaces from a string?
Can you please explain the difference between strcpy() and memcpy() function?
What is register variable in c language?
How do you define structure?
How can you read a directory in a C program?
Why we use break in c?
What is huge pointer in c?
Does c have enums?
What is this infamous null pointer, anyway?
What is bubble sort in c?
What is a structure in c language. how to initialise a structure in c?