arithmetic

package
v0.0.0-...-c8f055a Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

두 숫자의 사칙연산 계산 제공 패캐지(1)

두 숫자의 연산 계산 제공 패키지(2)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Numbers

type Numbers struct {
	X int
	Y int
}

X, Y 2개의 Integer 구조체

func (*Numbers) Divide

func (o *Numbers) Divide() int

x, y 나누기를 계산해서 반환

func (*Numbers) Minus

func (o *Numbers) Minus() int

x, y 차를 계산해서 반환

func (*Numbers) Multi

func (o *Numbers) Multi() int

x, y 곱을 계산해서 반환

func (*Numbers) Plus

func (o *Numbers) Plus() int

x, y 합을 계산해서 반환

func (*Numbers) SquareMinus

func (o *Numbers) SquareMinus() int

x,y 제곱의 차를 리턴

func (*Numbers) SquarePlus

func (o *Numbers) SquarePlus() int

x, y 제곱의 합을 리턴

Jump to

Keyboard shortcuts

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