Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program for DIVISER
void main()
{
int result,number,min;
clrscr();
printf("ENTER THE NUMBER=");
flushall();
scanf("%d",&number);
min=1;
while (min<=number)
result=number%min;
if(result==0)
printf("THE NUMBER IS DIVISIBLE BY=%d\n",min);
}
min=min+1;
getch();
OUTPUT :
ENTER THE NO: 10
THE NO IS DIVISIBLE BY : 1
THE NO IS DIVISIBLE BY : 2
THE NO IS DIVISIBLE BY : 5
THE NO IS DIVISIBLE BY : 10
Explain the Command Line Parameters? The Command line arguments are parameters supplied to a program from the operating system. These arguments are parameters accepted to main
Define Register Variables - Low Level Programming? The Register variables are a special case of an automatic variable. The Automatic variables are allocated storage in the memo
In rPeANUt implement the "char getchar()" and "void printstring(char *str)" functions. Using these functions implement the following: void main() { while (1) { ch
Assume variables x, f, and d are of type int, float, and double, respectively. Their values are arbitrary, except that neither f nor d equals +∞, -∞, or NaN . For each of the fo
Literals (Constants) Constants are data storage locations whose address is not accessible for the user. Their value is not altered during the course of the program. Literal
Mathematical Statements and assignments Within C we can directly load up the variable from within the program using the mathematical expression equates (=) e.g. a= 'h'
how to write a program using arrays
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
Abstract Classes Abstract classes are the classes, which are written just to act as base classes. Consider the following classes. class base
(a) Write a procedure called (area-of-rectangle h w) that computes the area of a rectangle of height h and width w. (b) Write a procedure called (area-of-circle r) that computes
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd