Giter VIP home page Giter VIP logo

arithmetic_operator's Introduction

Welcome

Arithmetic_operators

level

  • Basic
  • Beginner
  • Intermediate
  • Mixed
  • Advanced

Automated grading of homework assignments and tests

  • fork this repository
  • solve the task
  • commit with proper message
  • just push and check answer

Problems

arithmetic_operator01

Create a variable 'num_one' and assign it the value of the int 5. Create a variable 'num_two' and assign it the value of the int 4. Find the sum of 'num_one' and 'num_two' then assign to 'variable_total'

Example 1:

Input: 4, 5
Output: 9

Constraints:

  • 0<=num<=108

arithmetic_operator02

Create a variable "a" and assign it the value of the int 3. Create a variable "b" and assign it the value of the int 4. Create a variable called 'answer'. Find the sum of a and b than assign to 'answer'

Example 1:

Input: 3 , 4
Output: 7

Constraints:

  • 0<=num<=108

arithmetic_operator03

Create a variable "a" and assign it the value of the int 6. Create a variable "b" and assign it the value of the int 2. Create a variable called 'answer'. find the difference of a and b then assign to "answer"

Example 1:

Input: 6,2
Output: 4

Constraints:

  • 0<=num<=108

arithmetic_operator04

Create a variable "a" and assign it the value of the int 5. Create a variable "b" and assign it the value of the int 4. Create a variable called 'answer'. Find the multiplication of a and b then assign to 'answer'

Example 1:

Input: 5, 4
Output: 20

Constraints:

  • 0<=num<=103

arithmetic_operator05

Create a variable "a" and assign it the value of the int 72. Create a variable "b" and assign it the value of the int 9. Create a variable called "answer". Find the division of a and b then assign to "answer".

Example 1:

Input: 72, 9
Output: 8.0

Constraints:

  • 0<=num<=103

arithmetic_operator06

Create a variable "a" and assign it the value of the int 7. Create a variable "b" and assign it the value of the int 3. Create a variable "c" and assign it the value of the int 5. Create a variable called "answer". Find the sum of a, b and c then assign to "answer".

Example 1:

Input: 7, 3, 5
Output: 15

Constraints:

  • 0<=num<=103

arithmetic_operator07

Create a variable "a" and assign it the value of the int 12. Create a variable "b" and assign it the value of the int 4. Create a variable "c" and assign it the value of the int 1. Create a variable called 'answer'. Find the expression value assign to 'answer'. a - b + c

Example 1:

Input: 12, 4, 1
Output: 15

Constraints:

  • 0<=num<=103

arithmetic_operator08

Create a variable "a" and assign it the value of the int 3. Create a variable "b" and assign it the value of the int 4. Create a variable "c" and assign it the value of the int 2. Create a variable called 'answer'. Find the expression value assign to 'answer'. ab/c

Example 1:

Input: 3, 4, 2 
Output: 6.0

Constraints:

  • 0<=num<=103

arithmetic_operator09

Create a variable "a" and assign it the value of the int 8. Create a variable "b" and assign it the value of the int 3. Create a variable "c" and assign it the value of the int 2. Create a variable "d" and assign it the value of the int 4. Create a variable called 'answer'. Find the expression value assign to 'answer'. a+b - cd .

Example 1:

Input:8,3,2,4
Output: 3

Constraints:

  • 0<=num<=103

arithmetic_operator10

Create a variable "a" and assign it the value of the int 8. Create a variable "b" and assign it the value of the int 5. Create a variable "c" and assign it the value of the int 2. Create a variable "d" and assign it the value of the int 6. Create a variable called 'answer'. Find the expression value assign to 'answer'. a*b / c+d .

Example 1:

Input: 8, 5, 2, 6
Output: 26.0

Constraints:

  • 0<=num<=103

Warning

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

arithmetic_operator's People

Contributors

xmaxkambek avatar olimjonsn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.