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

how does hester live after she is released from prison?
After the fraction x plus 1 all over 2 minus the fraction x plus 2 all over 3 x have been combined using the least common denominator of 6x, what is the numerat
The prime meridian helps divide earth into which 2 hemispheres
2x - 14 = 9 solve x.
Read the sentence. Rita and Ron climbed slowly and cautiously up the steep staircase. Which best identifies the adverb phrase? A) slowly and cautiously, B) Rita
Use the graph to find the bear’s average heart rate when it’s active and when it hibernating
a horizontal plane intersects a triangular pyramid as shown below. What is the shape of the cross-section?
A formula changing temperature to Fahrenheit (F) from Celsius (C) is F=1.8+32 Work out the temperature in Fahrenheit when it is 30 degrees Celsius For 2 marks
A​ ________ is a​ worldwide-unique term that is affiliated with a public ip address.
Which of the following represents the multiplicative inverse of the value below? 5/6x A. -5/6x B. -6/5x C. 6/5x D. 6x/5