anu3970 anu3970
  • 23-10-2021
  • Computers and Technology
contestada

Write a program in BASIC- 256 to accept two numbers from the user and print their sum and product​

Respuesta :

foreverronneshia foreverronneshia
  • 23-10-2021
10 Dim V(5)

19 rem compute the numbers

20 v(1)=rnd

30 v(2)=rnd

40 v(3)=rnd

50 v(4)=rnd

60 v(5)=rnd

69 rem compute the average

70 a=(v(1)+v(2)+v(3)+v(4)+v(5))/5

79 rem print the numbers and their average
80 print v,a

Answer Link

Otras preguntas

The year "1787" would be of most importance when discussing events surrounding
What is the lcm of 6,15?
Choose the term that best describes the underline term. 1. The toy "that Fido loves to chew" is made by hand. a. noun clause b. direct clause c. adverb clause d
How would you use density to identify an unknown substance?
Waves which require a medium are known as
Among six kingdom of living things which one does not have a cell wall
Is (2,12) a solution to the given system? y>2x+4 y<3x+7 Yes No What is the solution of the system of equations shown below? 2x+2y=10 5x-2y=4 (-2,7) (2,7)
How to solve inequaities?
Is 4/5 equivalent of 5/10
The price of a pair of shoes increases from $51 to$69. what is the percent increase to the nearest percent?