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

Read and analyze the following amendment. “A well-regulated militia being necessary to the security of a free state, the right of the people to keep and bear ar
a bus starts with a speed 15 metre per second then how much time does it take to complete 15 kmpls pls help ​
1. He _________us that last month’s sales figures were very good.
Right triangles 1, 2, and 3 are given with all their angle measures and approximate side lengths. Use one of the triangles to approximate the ratio (KL)/(JL). -
A car drives at a speed of 500 miles per hour. It takes the car "r" hours to reach its destination. Enter an equation that can be used to find the number of hou
the original price of a jacket was $74.00 .A store manager marked the price down by 25 1/2% . By how much was the price reduced?
explain why a leaf cannot be tested for starch by adding iodine solution directly​
Comparing Theater Sales I need help A.S.A.P!!!
what is factor write its type​
A taxi ride costs $3.50 plus $2.50 per mile driven. If Sasha has $37 in cash , what is the greatest whole number of miles she can ride in this taxi ? Happy Holi