megabytefisher / comp3410-pa1

Programming Assignment #1 for COMP3410, Spring 2015 at U of M

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COMP3410 Spring2015 Programming Assignment #1 Assigned: 4 February, 2015 Deadline: 11 February, 2015

=========================================================

PART ONE.

Example of running correctly : How many fibonacci numbers would you like to see? 7 The Fibonacci numbers are: 1 1 2 3 5 8 13

Example of running with a bad input : How many fibonacci numbers would you like to see? -62 Error- please only enter an amount from 1 to 9! How many fibonacci numbers would you like to see? 99 Error- please only enter an amount from 1 to 9!

=======================================================

PART TWO.

Example of running : Hello, and welcome to Kevin Fisher's fancycalc. Give me two inputs and I'll preform some mad arithmetic on them. Please input two numbers: 4 7 The result of adding these is: 11 The result of subtracting these is: -3 The result of multiplying these is: 28 Have a nice day!

======================================================

PART THREE. 30 points.

Example of running (no input needed) : 0 + 1 = 1 1 + 3 = 4 4 + 5 = 9 9 + 7 = 16 16 + 9 = 25 25 + 11 = 36 36 + 13 = 49 49 + 15 = 64

About

Programming Assignment #1 for COMP3410, Spring 2015 at U of M


Languages

Language:Assembly 100.0%