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

can some please helpwhy was it made
Why is physical activity so important in preventing heart disease?
Compute δy and dy for the given values of x and dx = δx. (round your answers to three decimal places. ) y = x , x = 1, δx = 1.
The area of a rectangle is calculated using the equation Area = length x width What is the area of rectangle ABCD? A. 6 Square Units B. 441 Square Units C. 21
help me with this pleases
According to Gordon Allport, __________ traits are common personality traits found in most people. A. primary B. central C. cardinal D. secondary
they are doing it. changing into passive voice​
The process of absorbing and replacing bone in the skeletal system is known as A. remodeling C. external fixation B. internal fixation D. reduction
A motorcycle goes 120 km in 3 l of petrol. How long will it go in 6 l of petrol?.
Please answer quickly ( 70 points)