Last active
March 13, 2018 21:11
-
-
Save nbluis/4364b9e04a73ef8590b9fb16cedcbd8c to your computer and use it in GitHub Desktop.
Revisions
-
nbluis revised this gist
Mar 13, 2018 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ def soma(p1, p2) p1 + p2 end -
nbluis revised this gist
Mar 13, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,4 +15,4 @@ def multiplica(p1, p2) puts soma(10, 5) == 15 puts substrai(10, 5) == 5 puts multiplica(5, 5) == 25 -
nbluis renamed this gist
Mar 13, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
nbluis created this gist
Mar 13, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ def soma(p1, p2) p1 + p2 end def substrai(p1, p2) p1 - p2 end def multiplica(p1, p2) p1 * p2 end puts soma(10, 10) == 20 puts soma(10, 5) == 15 puts substrai(10, 5) == 5 puts multiplica(5, 5) == 25