Procedure SumEvenOdd(stdin: array [0..100] of integer)
var
i, sum_even, sum_odd: integer;
begin
for i := 0 to 100 do begin
if stdin[i] < 0 then
break;
if stdin[i] mod 2 = 0 then //even number
sum_even := sum_even + stdin[i]
else
sum_odd := sum_odd + stdin[i];
ShowMessage('sum of even is ' + IntToStr(sum_even) + ' ' + 'sum of odd is' + IntToStr(sum_odd) ) ;
end;
end
Here are the steps I would do:
Do a "hard" power off. Hold the power key until the screen turns off. Wait 10 seconds. Turn it on. If it still shows the screen... then i'm not sure.
The error is occurring because it has nothing to boot off of. It's probably something wrong with your hardware. The instructions say for you to insert a "boot disk" and press any key.
Answer:
c9
Explanation:
In hex code, the format is # then two pairs to produce the Red, then Green, and lastly Blue.
The hex code follows the same layout as RGB which is Red Green Blue.(#RRGGBB) the maximum value for each color is FF, while the lowest is 00.
Red: #FF0000;
Green: #00FF00;
Blue: #0000FF
White: #FFFFFF;
Black: #000000;
The higher the pair, the more color it has, the smaller the less.