96.9k views
3 votes
Write a program to display the following series of numbers 10 20​

1 Answer

3 votes

R software or Rstudio:-

x = seq(10, 100 , by = 10)

run x

[1] 10 20 30 40 50 60 70 80 90 100

Step-by-step explanation:

  • Programming Language called R and Rstudio, statistical tool to analyze data.
  • x is a variable which saves the data in a vector programming R.
  • seq full form is sequence which is function to imply a set of instruction.
  • 10 in function mean from where to start the sequencing from
  • 100 in function mean to where to end the sequencing to.
  • by means do you want it sequence in 10,100 or 1000.
  • so it updates as per above by 10 [1].
User Spectral
by
8.2k points