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 to use denominators when comparing two fractions with the same numerators
Let b= 1.79, w= 5.44, and l= 1.92. Find the surface area of the 3D image.
Katsushika hokusai, in his woodcut “the great wave off shore at kanagawa,” simplified and ordered the visual elements in the work to create ________.
Christina worked diligently to make her grades in high school;____,she was offered several scholarships. which transition word or phrase BEST completes the sent
What impact did John F. Kennedy have on the world?
x – 4y = 4 3x – 4y = –12
France's Third Republic included workers' rights changes and primary schooling. True False
Increasing the number of loops in a solenoid will cause the strength of its magnetic field to decrease. Please select the best answer from the choices provid
What economic reasons could you give people in the rain forest for preserving the ecosystem
On a piece of paper, use a protractor to construct a triangle with angle measures of 50 and 70. What is the measure of the third angle?