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

find the mean and the median of this data set: 9,6,5,3,28,6,4,7
Triangle RST was dilated by a scale factor of . The image, triangle R'S'T', is an isosceles triangle, with each leg measuring 8 units. What is the length of a
Cities like Abilene, Fort Worth, and Dodge City, owed their population growth and prosperity in the late nineteenth century to A) the mining of silver. B) the d
What is the measure of angle BJL
Your class has decided to design an experiment to test the hypothesis that more insects will be trapped near the cafeteria than will be trapped near the gym or
Why did George Washington come up with a bold plan because he believed the revolution would fail
A basket contains some apples and oranges. The number of apples is 4 more than two times the number of oranges. The total fruits in the basket are 22. Which eq
Guys what is the Diameter of 40 Inches
How many times greater is the capacity of one cup than one fluid ounce
what is one important element of romantic literature?