There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Software Development
Tag Cloud
access acer asus batch bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop lcd malware memory modem monitor motherboard network printer problem ram registry router slow software sound toshiba trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
LMC Little Man Program

Reply  
Thread Tools
ki72's Avatar
Junior Member with 1 posts.
 
Join Date: Nov 2009
07-Nov-2009, 08: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.
Malware Removal Specialist with 3,260 posts.
 
Join Date: Feb 2002
08-Nov-2009, 04: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 9,048 posts.
 
Join Date: Aug 2007
Location: Oregon, USA
Experience: Intermediate
09-Nov-2009, 02: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

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:02 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.