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

is flower color a charecteristics or a traits
is flower color a charecteristics or a traits
Simplify the following expressionx - 4y + 5z - 3x - y + 2z = ?.
How do contact forces such as friction differ from gravitational and magnetic forces?
A sheet of cardboard measures 9 feet by 6 feet. Gina makes the entire sheet of cardboard into a closed box that is a perfect cube. What is the surface area of t
How can pioneer species decrease
What Is Multiliteracy?
What Does It Mean to Be "In a Rut"?Help please
A bee flies 25 m north of the hive, then 10 m east, 5 m west , and 10 m south. How far north and east of the hive is it now? Exsplain how u calculated your answ
why do we need to know how to use a computer