Skip to content
Snippets Groups Projects
Commit 5df876ae authored by dali662d's avatar dali662d
Browse files

Upload New File

parent 094e9dd7
No related branches found
No related tags found
No related merge requests found
program tripel
implicit none
INTEGER :: i, j, k ! Zählvariablen
WRITE(*,*) "Folgende Tripel ergeben als Summe 50 :"
DO i = 17, 50
DO j = 17, 25
DO k = 0, 16
IF (i+j+k == 50) THEN
IF (i >= j .AND. j >= k) THEN
WRITE(*,*) i, j, k
END IF
END IF
END DO
END DO
END DO
end program tripel
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment