Welcome

Basic Math Function

Automated grading of homework assignments and tests

  • fork this repository
  • solve the task
  • commit with proper message
  • commit with proper message

Problems

basic_func11

Create a function called main.

Example 1:

Input: a = -8
Output: 8

basic_func12

Create a function called main.

Example 1:

Input: a = 6.453
Output: 6.45

basic_func13

Create a function called main.

Example 1:

Input: a = 9
Output: 3.0

basic_func14

Create a function called main.

Example 1:

Input: a = 11 b = 2
Output: 5

basic_func15

Create a function called main.

Example 1:

Input: a = 23 b = 5
Output: 3

basic_func16

Create a function called main.

Example 1:

Input: a = 3 b = 2
Output: 5

basic_func17

Create a function called main.

Example 1:

Input: a = pi
Output: 3.141592653589793

basic_func18

Create a function called main.

Example 1:

Input: a = pi
Output: 3.14

basic_func19

Create a function called main.

Example 1:

Input: a = 4 b = 11
Output: 7

basic_func20

Create a function called main.

Example 1:

Input: a = 5 b = 4
Output: 20

Warning

  • don't copy other solutions or any solution
  • don't remove comments