Answer:
The pseudocode is as given below while the flowchart is attached.
Explanation:
The pseudocode is as follows
input customer name, number of texts
Set Basic bill=5 $;
if the number of texts is less than or equal to 60
Extra Charge=0;
If the number of texts is greater than 60 and less than 200
number of texts b/w 60 and 200 =number of texts-60;
Extra Charge=0.1*(number of texts b/w 60 and 200);
else If the number of texts is greater than 200
number of texts beyond 200 =number of texts-200;
Extra Charge=0.25*(number of texts beyond 200)+0.1*(200-60);
Display Customer Name
Total Bill=Basic bill+Extra Charge;
Total Bill after Tax=Total Bill*1.12;
Resposta:
44,76 Kwh
Explicació:
1 cavall = 746 watts
Per tant, 30 cavalls es convertiran en:
30 * 746 = 22380 watts
Temps = 2 hores
La quantitat d'energia consumida s'obté mitjançant la relació:
Energia consumida = Potència * temps
Energia consumida = 22380 watts * 2 hores
Energia consumida = 44760 Wh
A quilowatts (Kwh)
44760 Kwh / 1000 = 44,76 Kwh
In programming they know it as a String which is a sequence of characters that are composed of literal constants or some kind of variables. A sting is any finite sequence of characters. every single string has its own lenght and this is one of the most important characteristics of them. Strings are essential to communicate information from the program to the user.