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

If a schoolyard is left open for public play what is the most likely to happen
So a man runs 7 feet in one second, how much time does it take to run one foot?In Preferable in Milliseconds
Peter earned $180 working at a store during the summer months. He bought 4 books worth $12 each from his earnings at the store. How much money was left after he
If £1,592.04 is split between two people how much would they have each?
How to find a° when AB//CD?
Solve the proportion. x=1/3 = x/2 a=5 b=2 c=10 d=1
What is the age of the earth determined to be through scientific investigation of evidence? select one: a. 3.5 million years b. 4.6 million years c. 3.5 billion
Which of the following statements about agency relationships is not true
what is the principal square root of 16
What was the first artificial satellite?