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 are some themes and symbols in "The Great Gatsby?" Explain You have to use 2 pieces of evidence to support your answer
The graph shows that the solution to 2 = 0.5^x is X = -1 What is the solution to 2 = 0.5^x - 4 Answer in Complete Sentences
Which of the following is a run on sentence
can you please help mee
Form 1. Does the melody repeat? 2 What form (12 bar blues, concerto, sonata, other) do you think this piece is in? please i rly need help
For question 30, state the domain and range of the function. ​
What is a circadian rhythm?
Fran has a monthly income of $2940, and budgets 9% of that amount for groceries. How much money does she budget for groceries each month? State your answer in t
Find the distance between the points (-3,-1) and (2, 3)​
plss answer my question I need it w right now pls pls pls pls pls ​