ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 03 May 2017 My Price 9.00

The Mensa members

This is c++ programming assignment. I need code  The following problem was recently given to members of the American Mensa Society. Find all five digitnumbers, abcde, where 0 showing this. Could you please send me the file of notepad++? Files are attatched

 

 

Lab 12
Source File:
Input:
Output:
Value: Due Date: See Blackboard
~/1337/12/lab12.(C|CPP|cpp|c++|cc|cxx|cp)
None
Screen
1 The following problem was recently given to members of the American Mensa Society. Find all five digit
numbers, abcde, where 0 < a ≤ 9 and 0 ≤ b, c, d, e ≤ 9 such that:
• ab is the product of d and e,
• b is four times e,
• e is seven less than d, and
• c is the sum of a and b.
The Mensa members were asked to solve this problem without the aid of computers. Since this is a programming class, write a computer program to find all such numbers satisfying the above criteria. All such
numbers should be written to the screen, one per line.
Commands to compile, link, and run this assignment are shown in Figure 1. Some of the output
generated from executing this program has intentionally been removed.
1
2
3
4
5
6
7
8
9
10 newuser@csnew ~> cd 1337
newuser@csnew ~/1337> mkdir 12
newuser@csnew ~/1337> cd 12
newuser@csnew ~/1337/12> cp /usr/local/1337/data/12/* .
newuser@csnew ~/1337/12> touch lab12.cpp
newuser@csnew ~/1337/12> # Edit lab12.cpp
newuser@csnew ~/1337/12> g++ -c -g -Wall lab12.cpp
newuser@csnew ~/1337/12> g++ -o lab12 lab12.o
newuser@csnew ~/1337/12> lab12
Your Name - CS 1337 - Lab 12 11
12
13
14
15 18992
newuser@csnew ~/1337/12> lab12 > my.out
newuser@csnew ~/1337/12> diff 01.out my.out
newuser@csnew ~/1337/12>
Figure 1. Commands to Compile, Link, & Run Lab 12 CS 1337 — Computer Science II Page 1

Attachments:

Answers

(11)
Status NEW Posted 03 May 2017 08:05 AM My Price 9.00

-----------

Attachments

file 1493799193-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)