Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

III Determine el valor de las variables seg n se ejecutan las instrucciones de los siguientes subprogramas: ( 2 0 puntos ) IV . Programe

III Determine el valor de las variables segn se ejecutan las instrucciones de los siguientes subprogramas: (20 puntos)
IV. Programe lo siguiente: (10 ptos)
Siga los siguientes pasos para calcular el porcentaje de ganancias dela?()? venta de una accin(Stock)
a. Declare la variahles a utilizar tipo "double".
b. Asigne el valor de 100 a la variable "purchasePrice".
c. Asigne el valor de 150 a la variable "sellingprice"
d. Asigne a la variable "percentProfit", 100 veces el valor de la diferencia entre "sellingprice" y "purchasePrice" dividido por "purchasePrice".
e. De salida al valor de "percentprofit" a travs de Listbox 1.
b.Determine la Salida del siomiente programa: (10 puntos)
Dim m,n as integer
Dims??t as string
m=5n=2
s= "BARBANEGRA"
t-= "ANE"
listbox1.additem len(s)
listbox1.additem right(s,m)
listbox1.additem left(s,5)
listbox1.additem instr(s,t)
listbox1.additem mid(s,4n??)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions