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

What is the expansion for the chemical symbol of tungsten?.
Los______ proveen oxígeno A. piedras B. ríos C. árboles
Some aliens traveling in a group know that their spaceship launchpad is 25 miles from the gas station where they are right now. How many kilometers is that dist
Write the equation of the line in fully simplified slope intercept form Please help me :(
Find the values of a and b if,ab=12 and a+b=7​
Find the volume of the solid obtained by rotating the region bounded by the given curves about the specified line, using the disk/washer method. Sketch the regi
We can use radicals if needed, and we need to simply.
Susan knows that there are laws that govern the refilling of diazepam, which is a controlled substance. How do these laws affect Mr. Lehmke?
Which describes an impact of Magna Carta on the American colonist in the 1770s? A They thought they had the right to overthrow a king who did not protect their
Write a definition for alternate interior angles.