C++, C/C++ Programming

write a C++ program that performs the following tasks
1. prompts the user to enter two numbers
2. displays the divisors of each number and store the divisors of number 1 in A and the divisors of number 2 in B
3. cacluates A intersection B
4. displays the maximum number in A Intersection B in (3) above
Posted Date: 4/19/2013 3:28:46 AM | Location : Rwanda







Related Discussions:- C++, Assignment Help, Ask Question on C++, Get Answer, Expert's Help, C++ Discussions

Write discussion on C++
Your posts are moderated
Related Questions
Project Description: My project is about telephone billing system. This project was my project in my college life. The project is quite easy, i needed C++ programming language..

Abstract array - c program: AbstractArray::AbstractArray( int anUpper, int aLower, sizeType aDelta ) {     PRECONDITION( anUpper >= aLower );     lastElementIndex = a

Why can't one open a file in a different directory like "..\test.dat"? A: Since " " is a tab character. You must employ forward slashes in your filenames, even on operating s

Objective Using C++ string, classes, constructors and member functions. Task A Write a program (book.cpp) to store a list of book titles and the published dates. Your pro

A parking garage charges a $2.00 minimum fee to park for up to three hours and an additional $0.50 per hour for each hour or part thereof over three hours. The maximum charge for a

Define the Increment and Decrement Operators in c language? C offers two special operators -and ++ called decrement and increment operators respectively and these are unary ope

Can copy constructor admit an object of the same class as parameter, rather than reference of the object?

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

C Program for RADIUS OF CIRCLE   #define PI 3.14159 main() {           float r,a;           clrscr();           printf("ENTER THE RADIUS OF A CIRCLE: ");

This task involves char arrays and pointer based string handling. Which we use to make a simple encryption program, using a Caesar Cipher, Write a program that: a. Asks