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
Q: How the compiler arranges the several sections in the executable image? A: The executable contained following sections: 1. Data Section (initialized data variable sec
Pointers to Objects Passing and returning of objects is, though, not very efficient since it includes passing and returning a copy of the data members. This problem can be elim
Calculate the area of circle using c program: const float Pi = 3.1415926; inline float area(const float r) {return Pi * r * r;} main() { float radius;
#queWrite a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points c
Program is to append the contents of one file to another: void main() { clrscr(); fstream file1,file2; char st1[13],st2[13];/* 13 because a filename canno
(a) Write a procedure called (add x y) that adds two numbers in a recursive manner. Specifically, note that x + y = (x + 1) + (y - 1) and x + 0 = x. (b) Using the substitution m
requiredrequiredrequiredrequiredrequiredrequiredrequiredrequired
Explain history of clanguage
Can you overload a function depend only on whether a parameter is a value or a reference? A: No. Passing by value and reference looks identical to the caller.
sir,why we use virtual function
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