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

which element has 15 protons 18 electrons and a mass number of 30?
How did the Tlingit, Haida, and Chinook adapt their way of life to the forest and sea environment of the West Coast?
You are skydiving and accelerating at 9.8 meters per second squared. If your velocity is 55 meters per second, how long did it take you to get up to that veloci
need help asap rocky
2. Long's Coffee Shop sells a refill mugs for $8.95. Each refill costs $1.50. Last month, Alice spent $26.95 on a mug and refills. Write an equation that can be
Summarize the main points of a wise investment strategy
b/4 + 1/7 = 15, what is b?
how can a work of literature reflect a cultural perspective? WILL MARK BRAINLIESET!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
PLS HELP i have already tried to ask everyone
When a dad wakes his child up for school at 6:45 every morning and tells his child to go to bed at 8 every night, the parent is using a consistent routine to he