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 to Check EVEN & ODD NO
main()
{
int n, a;
clrscr();
printf("ENTER ANY NUMBER: ");
scanf("%d", &n);
a=n%2;
if(a==0)
printf("THE NUMBER IS EVEN...\n");
}
else
printf("THE NUMBER IS ODD...\n");
getch();
OUTPUT :
Enter Any No: 5
The number is odd
Add words in Dictionary: void Dictionary::add( Object& objectToAdd ) { if( !objectToAdd.isAssociation() ) ClassLib_error( __ENOTASSOC ); else
A: Use operator overloading to present a friend left-shift operator, operator #include class Fred { public: friend std::ostream& operator ... private: int i_; // onl
code for K-means to form clusters
E v o l u t i o n of Software: In the past stage of programming the software's were developed in Machine language Using binary numbers 1's and 0's. Later it convert
Looping Statements The statements usually used for looping are for, do-while, while. The goto statement can be used for looping, but its use is generally avoided as it leads to
how c program starts executing?
Write a function to determine whether a number is prime: it will return true if the input is prime and false otherwise. Use it to see whether -7 is prime.
# include stdio.h> # include string.h> # include conio.h> void main() { int i=0,j=0,b=0,count=0; int a[100]; for(i=0;i
Many modern cryptography algorithms require two numbers that are coprime, or sometimes referred to as relatively prime. Two numbers are coprime if their greatest common divisor is
C++ improves on many of C's features and provides object-oriented programming capabilities used for software production, quality and reusability. C++ was developed by Bjarne Strons
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