R/calculate.R

Defines functions all_actions

Documented in all_actions

# Title     : Calculations
# Objective : Nothing
# Created by: parviz.khavari
# Created on: 06.07.2020

#' Show all main arifmetical actions
#' @export
all_actions <- function(x, y) {
  info()
  cat("Sum: ", x + y, "\n")
  cat("Ded: ", x - y, "\n")
  cat("Mul: ", x * y, "\n")
  cat("Div: ", x / y, "\n")
  cat("Upp: ", x ^ y, "\n")
}
zeburek/r-info-pkg documentation built on July 9, 2020, 12:52 a.m.