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

There are two taxi cab companies in Redwood. Their charges are listed below. Redwood Taxi $2.00 for the first mile plus $1.00 for each additional mile Max's Tax
What was one of the Congress of Vienna's primary goals? A. Promoting nationalism as a governing philosophy throughout Europe B. Guaranteeing equal rights for J
Which of the following is not a reason that nonnative species are reared outside their native ecosystems? a. they are commercially important. b. they are used t
Compare and contrast the three types of single gene mutation disorders.​
Select the following statement(s) about how the organisms in the food chain store carbon that is(are) NOT true. a. The algae use carbon dioxide to create glucos
Which feature helps to maximize the volume of gases exchanged during internal expiration?
4 and one-third divided by 5 and StartFraction 1 over 6 EndFraction
Waste to be evaluated currently goes to a large trash container outside. How can we monitor our waste managment in the enviorment?
Someone help me with these. Giving 100 points and brainliest
Which sentence is a counterclaim? sentence 2 sentence 3 sentence 4 sentence 5