There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display driver drivers email error excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware network networking nvidia outlook outlook 2003 outlook express partition printer problem ram router slow sound trojan usb video virus vista windows windows vista windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
anyone know PIPPIN?


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
BenWasTaken's Avatar
Senior Member with 154 posts.
 
Join Date: Sep 2002
13-Oct-2003, 01:02 AM #1
anyone know PIPPIN?
basically i have to write a program in pippin..i dont know where this goe so ill post it here to..can anyone help me with this problem?Consider the following sequence of numbers: (15 points)

1, 1, 2, 3, 5, 8, 13, ...

This is a variation of the Fibonnaci sequence where the first two values are 1 and all other values in the sequence are the sum of the two values in the sequence that immediately precede it. You are to write a Pippin program (call it fib.dat) that when supplied a positive integer in W will compute the Wth Fibonnaci number and place it into Y. For example, if W is set to 4 and the program is run, then when the program halts, Y should have the value 3. Likewise, if a value of 7 is used for W, the value of Y should be 13 after the program halts. Your program may assume that the value in W is at least 1. Your program should work properly for values of W up to 11 (when W is 11, Y should be set to 89). Fibonnaci numbers beyond the 11th one are out of range for Pippin (you may assume that W will be less than 12, but if the program is run with such a value you will simply get a number out of range error at some point in the execution). Place the Pippin program (called fib.dat) on a diskette. Make sure that the diskette is labeled on the outside with your name and section number.
Closed Thread

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.


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 help people like you solve 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 -4. The time now is 04:53 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.