develope a program, C/C++ Programming

Develop a program to meet the following requirements:

1. Must use at least one function in addition to main (you can use more)

2. Must use selection

3. Must use deference/indirection (the * operator)

Your assignment is to take two integers as input, compare them and
put them in smallest to largest order.

If they are not in smallest to largest order, use an exchange function
to swap their order. If they are already in order, do nothing.

Output both integers in smallest to largest order.

Use the following integer pairs as input (you will want to use more).

7 12
18 3
6 6
-12 0

A simple structure chart is shown below.

Posted Date: 10/27/2012 1:43:21 AM | Location : United States

Related Discussions:- develope a program, Assignment Help, Ask Question on develope a program, Get Answer, Expert's Help, develope a program Discussions

Write discussion on develope a program
Your posts are moderated
Related Questions

hwat is the area fsdjlakl;aeklfjtealrtl;gka

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

Write a program to create a binary file and store the following data "hello", 0x0030,'1', 1.234  Using visual studio examine the binary file and note how the day is stored   Answe

what would be the best tool for debuggingg memory leaks in c/c++ programming

What is memory allocation? Memory Allocation : It is the method of allocating memory storage to program in such that the program can be run.

First line starts with T, number of test cases. Each test case T contains a necklace (N).

This program requires the use of a windows box, no console applications are allowed. Prepare for Christmas now.  Each year, Reindeer Gift Emporium publishes a Christmas price list

Write 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 can b