Skip to content

mzahrada/Rectangles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== Rectangles
Program that counts area of two covering squares which user specifies in prompt input.

=== Usage
   ~Rectangles/bin> ruby rectangles

=== Testing
   ~Rectangles/test> ruby rectangles_test_suite.rb

=== Input
	Zadejte delku hrany prvniho ctverce: 4
	Zadejte x-ovou souradnici stredu prvniho ctverce: 0
	Zadejte y-ovou souradnici stredu prvniho ctverce: 0
	Zadejte delku hrany druheho ctverce: 2
	Zadejte x-ovou souradnici stredu druheho ctverce: 2
	Zadejte y-ovou souradnici stredu druheho ctverce: 2

=== Output
	Obsah sjednoceni dvou ctvercu je 19.

=== RDoc generation
    rdoc lib README

About

2. HW on MI-RUB on FIT CTU Prague

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published