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

turn this sentence into an algebraic equation: ann has 5 newest music CD's which is 3 less than twice the amount that bob has
why do people call native americans apache
What is 0.00000018 in scientific notation
What r three rectangles with an area of 300 square feet?
What does it mean to describe a scientist as skeptical? Why is skepticism considered a valuable quality in a scientist
Which digit is in the thousandths place 1.375126
How to solve 19-4c=17?
If the distance between two positive point charges is tripled, then the strength of the electrostatic repulsion between them will decrease by a factor of of ho
Base word for Beautiful?? >> Help needed (:
if 1/2 cup of popcorn kernels makes 2 cups of pop corn, how many cups popped corn will six cups of kernels make?