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
A Constructive Example Consider an example , to model a user-defined data type for strings. The object simulates a character array ( string ) using a character pointer and an
Consider the following example: int max(int x, int y) { return ( x > y) ? x : y ; } float max
program that generate university statistical bar graph using 3d function
Question: (a) Explain a linked list. (b) Describe the three different types of linked list with the help of diagrams. (c) Give two advantages and two disadvantages
Friend classes are used when two or more classes are designed to work together and require access to each other's execution in ways that the rest of the world shouldn't be permitte
Operator overloading - c++ program: Write a program in c to define operator overloading. class matrix{ private : int x[2][2];
Introduction. In this assignment you are required to simulate a maze traversal using so called recursive backtracking (the algorithm is given below). The grid of #s and 0s in the f
A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci
# include stdio.h> # include conio.h> # include string.h> void main() { int i=0,j=0; char a[100],temp; clrscr();
program code
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