Browse Source

Merge pull request #335 from 01-edu/fixRaid1

fixRaid1
pull/357/head
augusto-mantilla 5 years ago committed by GitHub
parent
commit
ed686d8963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      subjects/raid1a.en.md
  2. 18
      subjects/raid1b.en.md
  3. 18
      subjects/raid1c.en.md
  4. 18
      subjects/raid1d.en.md
  5. 18
      subjects/raid1e.en.md

18
subjects/raid1a.en.md

@ -6,6 +6,8 @@ Write a function `Raid1a` that prints a **valid** rectangle of width `x` and of
The function must draw the rectangles as in the examples.
`x` and `y` will always be positive numbers.
### Expected function
```go
@ -24,11 +26,11 @@ Program #1
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1a(5,3)
piscine.Raid1a(5,3)
}
```
@ -49,11 +51,11 @@ Program #2
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1a(5,1)
piscine.Raid1a(5,1)
}
```
@ -72,11 +74,11 @@ Program #3
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1a(1,1)
piscine.Raid1a(1,1)
}
```
@ -95,11 +97,11 @@ Program #4
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1a(1,5)
piscine.Raid1a(1,5)
}
```

18
subjects/raid1b.en.md

@ -6,6 +6,8 @@ Write a function `Raid1b` that prints a **valid** rectangle of width `x` and of
The function must draw the rectangles as in the examples.
`x` and `y` will always be positive numbers.
### Expected function
```go
@ -24,11 +26,11 @@ Program #1
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1b(5,3)
piscine.Raid1b(5,3)
}
```
@ -49,11 +51,11 @@ Program #2
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1b(5,1)
piscine.Raid1b(5,1)
}
```
@ -72,11 +74,11 @@ Program #3
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1b(1,1)
piscine.Raid1b(1,1)
}
```
@ -95,11 +97,11 @@ Program #4
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1b(1,5)
piscine.Raid1b(1,5)
}
```

18
subjects/raid1c.en.md

@ -6,6 +6,8 @@ Write a function `Raid1c` that prints a **valid** rectangle of width `x` and of
The function must draw the rectangles as in the examples.
`x` and `y` will always be positive numbers.
### Expected function
```go
@ -24,11 +26,11 @@ Program #1
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1c(5,3)
piscine.Raid1c(5,3)
}
```
@ -49,11 +51,11 @@ Program #2
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1c(5,1)
piscine.Raid1c(5,1)
}
```
@ -72,11 +74,11 @@ Program #3
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1c(1,1)
piscine.Raid1c(1,1)
}
```
@ -95,11 +97,11 @@ Program #4
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1c(1,5)
piscine.Raid1c(1,5)
}
```

18
subjects/raid1d.en.md

@ -6,6 +6,8 @@ Write a function `Raid1d` that prints a **valid** rectangle of width `x` and of
The function must draw the rectangles as in the examples.
`x` and `y` will always be positive numbers.
### Expected function
```go
@ -24,11 +26,11 @@ Program #1
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1d(5,3)
piscine.Raid1d(5,3)
}
```
@ -49,11 +51,11 @@ Program #2
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1d(5,1)
piscine.Raid1d(5,1)
}
```
@ -72,11 +74,11 @@ Program #3
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1d(1,1)
piscine.Raid1d(1,1)
}
```
@ -95,11 +97,11 @@ Program #4
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1d(1,5)
piscine.Raid1d(1,5)
}
```

18
subjects/raid1e.en.md

@ -6,6 +6,8 @@ Write a function `Raid1e` that prints a **valid** rectangle of width `x` and of
The function must draw the rectangles as in the examples.
`x` and `y` will always be positive numbers.
### Expected function
```go
@ -24,11 +26,11 @@ Program #1
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1e(5,3)
piscine.Raid1e(5,3)
}
```
@ -49,11 +51,11 @@ Program #2
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1e(5,1)
piscine.Raid1e(5,1)
}
```
@ -72,11 +74,11 @@ Program #3
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1e(1,1)
piscine.Raid1e(1,1)
}
```
@ -95,11 +97,11 @@ Program #4
package main
import (
student "./student"
piscine ".."
)
func main() {
student.Raid1e(1,5)
piscine.Raid1e(1,5)
}
```

Loading…
Cancel
Save