This application calculates the sum of two numbers. The values of the two numbers can be set by the sliders and range from 0 to 100. The sum will be displayed on the right side.
27 Juli 2019
This application calculates the sum of two numbers. The values of the two numbers can be set by the sliders and range from 0 to 100. The sum will be displayed on the right side.
To set the values of the two numbers that will be summed up two sliders are displayed in the sidebar. Both sliders range from 0 to 100 and have the default value 0.
The output on the right side of the application will show the calculation that is performed and the result of it. The format of the output is:
{number1} + {number2} = {result}
number1 <- 54 number2 <- 36 result <- number1 + number2 print(paste(number1, " + ", number2, " = ", number1+number2))
## [1] "54 + 36 = 90"