if statement, C/C++ Programming

Write a program to input two integers. If they are equal display "The numbers are equal". Otherwise display a message if the first is a multiple of the second or if it is not a multiple of the second. Produce runs where the numbers are and are not multiples, switch the order, and for two equal numbers.
Posted Date: 2/22/2013 10:29:53 PM | Location : United States







Related Discussions:- if statement, Assignment Help, Ask Question on if statement, Get Answer, Expert's Help, if statement Discussions

Write discussion on if statement
Your posts are moderated
Related Questions
To store a date use a structure that contains three members date, month and year. If the dates are equal then display message “Equal” otherwise “Unequal” Program structure: main()

program to find if a no . is prime or not

Operator Overloading Fundamentals The C language uses the concept of Operator Overloading discreetly. The asterisk (*) is used as multiplication operator as well as indirect

A: Use p = new T[n] and delete[] p:   Fred* p = new Fred[100]; ... delete[] p; Any time you allocate an array of objects through new (generally with the [n] in the n


Threaded binary tree: Consider the linked illustration of a binary tree 'T.  Approximately half of the entries is the pointer fields 'LEFT' and 'RIGHT' will have null elements. Th

Define the Char Data Type of C Language? The char defines characters. The char type will usually require only 1 byte of internal storage. Every char type has an equivalent inte

Algorithm for railway ticket booking process

#question.Write a c++ program to accept and print a 1_d array

C program for bubble sort: void main() { int i,j,k,a[10],n; clrscr(); printf("How many values you want to enter\n"); scanf("%d",&n);  for(i=0;i  {  pri