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

Point R has coordinates (1, 0). Point S is symmetric to point R with respect to the line y = –2. What are the coordinates of point S? (Points : 10) (1, –4) (1,
Was Trägst du zur Schule? (what do you wear to school?) Give answer in german and what it means too please.
what was one cold-war goal of the Marshall plan
spesifikasi solder listrik 220 volt/60 watt. solder tersebut dipasang pada tegangan 110 volt. daya ada solder listrik tersebut adalah... A. 15 watt B. 20 watt C
quadriatic formula 2w^2-28w=-98
quadriatic formula 2w^2-28w=-98
31 - 4 + 6 O -17 + 22 - 5 Write <, >, or =
What is the difference between: heiße and heißt Das and die
Olivia is 4 feet 10 inches tall. She compared her height with her younger sister, Susan, and found that Susan is 15 inches shorter than she is. What is Olivia's
Please please help me !!??? "The artist painted a beautiful picture" is in the active voice. True False "Victoria beams like a ray of sunshine" is a metaphor in