math-examples

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 10 Imported by: 0

README

Math Examples

A small utility to generate arithmetic examples for pupils

Usage

go run .

Once it's run first time, it generates a math-examples.yaml file in current directory with generator configuration. Example:

examplesCount: 10        # Number of exercises to generate
minBoundary: 0           # Minimal value that is calculated on each iteration
maxBoundary: 9           # Maximum value that is calculated on each iteration 
operandsCount: 2         # Number of operands in each exercise
availableOperands:       # Available operands values used in generation
  - 1
  - 2
  - 3
  - 4
  - 5
  - 6
  - 7
  - 8
  - 9
availableOperationTypes: # Available operations used in exercises
  - plus
  - minus

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL