TheAnimeGirl
TheAnimeGirl TheAnimeGirl
  • 09-03-2020
  • Computers and Technology
contestada

1.Write the Qbasic program to find sum of any 10 different numbers.
2.Write Qbasic program to read the value of P,T and R ,Find simple interest and total amount.​

Respuesta :

problemsolver2019
problemsolver2019 problemsolver2019
  • 17-03-2020

Answer:

1.

DIM myArray(10) as INTEGER

LET A = 0

FOR I = 1 TO 10 STEP 2

INPUT “INPUT NUMBER”; myArray(i)

LET A = A + myArray(i)

NEXT  

PRINT A

END

2.

REM PROGRAM FOR CALCULATING THE SIMPLE INTEREST

CLS

INPUT “INPUT THE PRINCIPAL”; P

INPUT “INPUT THE TIME”; T

INPUT “INPUT THE RATE”;R

SI = P* T * R / 100

PRINT “SIMPLE INTEREST =”; SI

END

Explanation:

Please find the respective programs in the answer section.

Answer Link

Otras preguntas

The edge of a cube was found to be 30 cm with a possible error in measurement of 0.1 cm. Use differentials to estimate the maximum possible error, relative erro
western most river explored
Helpppppppp pleaseeeeee!!
marissa wants to purchase song for hee ipod songs on itunes cost $1.25 each marisa found anothee webside called mp3 golore that offers each song for $1 if a $3
how to simplify -5(5y-8)+4(2y+9)=
April's 6 years older than her brother daniel. in 16 years the sum of their ages will be 100 years. suppose that april is x years old now. solve the equations.
Electricity supplied light and power to united states factories. true or false.
impaired drivers reaction times often double in response to situations on the road true or false
What is 24/15 simplified?
The points (0,0) and (3,2) are two vertices of a polygon with integer coordinates What are the answers 8-10?