Skip to content

Introduction to Programming Languages Coding Final Project

Notifications You must be signed in to change notification settings

gchiudio/progLangProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

progLangProject

Introduction to Programming Languages Coding Final Project

I wrote code to find the nth fibonacci in two languages: mips and c++. To compile mips I used a program called mars, which is included in the repository. To compile the c++ code, I used Microsoft Visual Studio.

The main two paradigm differences between these two languages is: mips is imperative, shown by the loops and that each instruction for the program is given and it must go in order specified c++ is declarative, shown by how its for loops are written. I specify what the program should do and it determines the order.

mips is an unstructured program in which there is little division of code and there is only one large block of code.
c++ is structured where there can be a lot of division in the code. There can be different classes and functions defined.
	There is a fibonacci function in my code then a main section.

About

Introduction to Programming Languages Coding Final Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published