Skip to content

This Fortran project implements the stack data structure based on the principle of Last In First Out (LIFO).

Notifications You must be signed in to change notification settings

jlokimlin/stack_fortran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

stack_fortran

This Fortran project implements the stack data structure based on the principle of Last In First Out (LIFO).


Requirements


To build the project

Type the following command line arguments

git clone https://github.com/jlokimlin/stack_fortran.git

cd stack_fortran; make all

Result


	The stack is empty
	size of stack =   2
	The stack is:   4 ->  3 -> null()
	size of stack =   3
	The stack is:   5 ->  4 ->  3 -> null()
	Pop operation..............
	Poped value is   5
	size of stack =   2
	The stack is:   4 ->  3 -> null()
	size of stack =   3
	The stack is:   6 ->  4 ->  3 -> null()
	Pop operation..............
	Poped value is   6
	size of stack =   2
	The stack is:   4 ->  3 -> null()
	Pop operation..............
	Poped value is   4
	size of stack =   1
	The stack is:   3 -> null()
	Pop operation..............
	Poped value is   3
	The stack is empty


About

This Fortran project implements the stack data structure based on the principle of Last In First Out (LIFO).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published