Created
March 31, 2019 08:01
-
-
Save jasongorman/bcd9649ee38eef5d0bee597391434f7c to your computer and use it in GitHub Desktop.
This file contains 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 characters
program CarpetQuoteTest | |
implicit none | |
real quote | |
real price | |
real room(2) | |
room(1) = 2.5 | |
room(2) = 2.5 | |
price = quote(room, 10.0, .FALSE.) | |
print*, "Quote (not rounded) = ", price | |
price = quote(room, 10.0, .TRUE.) | |
print*, "Quote (rounded) = ", price | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment