Answer:
Option (B) i.e., 500 is the correct option to the following question.
Explanation:
The following option is correct because here, firstly they defined two integer data type variable i.e., "bonus" and "sales" and assign value to the variable "sales" i.e., 6000 then, the set the if-else if statements to check the "bonus" and pass conditions is if the sales is less than 5000 then bonus is equal to 200 otherwise if the sales is less the 7500 then bonus is equal to 500 otherwise if the sales is less the 10000 then bonus is equal to 750 otherwise if the sales is less the 2000 then bonus is equal to 1000 otherwise bonus is equal to 1250.
So, according to the following conditions sales is less than 7500 because sales is equal to the 6000 that's why the following option is correct.
Answer:
Explanation:
The language I use would do it as
h1$ = copy(h$,1,3)
This may not satisfy you, because your language could be quite different. You might want an input statement of some kind that would define h$. This assumes that somewhere h,h1 are declared as strings.
You also have to know how to read an input. My language uses readln(input,h)
and how to write it on the screen write(h1) or writeln(h1)
Answer:
La tecnología informática ayuda a las personas a obtener información más rápido, hace que las personas vivan mejor. La computadora tiene muchos usos en diferentes aspectos de la vida, como investigación, propósitos educativos, juegos, videollamadas y otros. Ayuda a las personas a realizar operaciones bancarias y a acceder al dinero fácilmente. también se utiliza en entretenimiento, ciencia y aprendizaje.