Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Software Development
Tag Cloud
access audio blue screen boot bsod connection crash dell desktop driver dvd email error excel excel 2003 firefox hard drive hardware hdmi hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem ram recovery router screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
LMC Little Man Program

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

 
Thread Tools
ki72's Avatar
Junior Member with 1 posts.
 
Join Date: Nov 2009
07-Nov-2009, 07:52 PM #1
LMC Little Man Program
I'm trying to Write a Little Man program that prints out the successive sums of sum of the first 39 integers - i.e. the number of the form 1, 1+3, 1+3+5, ..........., 1+3+5+7+....+39.
I really need you guys help because I don't really understand. Thanks!
IMM's Avatar
IMM IMM is offline IMM is authorized to help remove malware.
Distinguished Member with 3,232 posts.
 
Join Date: Feb 2002
08-Nov-2009, 03:32 AM #2
Try looking at this
http://www.atkinson.yorku.ca/~sychen...MCExample.html
and poke around the site

Here's another reference
http://en.wikipedia.org/wiki/Little_man_computer
TheOutcaste's Avatar
Computer Specs
Distinguished Member with 5,485 posts.
 
Join Date: Aug 2007
Location: Oregon, USA
Experience: Intermediate
09-Nov-2009, 01:17 AM #3
Quote:
Originally Posted by ki72 View Post
I'm trying to Write a Little Man program that prints out the successive sums of sum of the first 39 integers - i.e. the number of the form 1, 1+3, 1+3+5, ..........., 1+3+5+7+....+39.
I really need you guys help because I don't really understand. Thanks!
You aren't showing any even numbers, so do you need:
  1. Sum of the 1st 39 integers?
  2. Sum of the first 39 odd integers?
  3. Sum of the odd integers up to and including 39?
Reply Bookmark and Share

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 03:16 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.