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
External Variables Different functions of the similar program can be written in different source files and can be compiled together. The scope of a global variable is not limit
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
Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number
flow chart of volume of sphere
Make the following 3 functions work by filling in appropriate C code. This file 1. // Write a function to count the number of particular characters in a string. // Do not use a
given number is prime or not
Here is a short program. It prints out the value of a variable "x". Ernie and Bert disagree about what will be printed: Ernie says, the value gets changed in "changeX" so it will p
What is the difference between structure and class? - Members of structures are public while those of a class are private. - Classes provide data hiding while structures don
Define a function in c program: int f1() { static int x=10; return x; } int f2() { int y=5; return y; } extern int z; void f() {
Can any constructor throw an exception? How to handle error while the constructor fails?
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