groomingprofi56
?>

4. клавиша, вызывающая справку а) f4 б)f3 в)f1 г)f2

Информатика

Ответы

alexandr25901
F1 вызывает справку..
Геннадьевич-Тимофеева158
Клавиша F1 вызывает окно Справки.

ответ: в.
Iprokopova81

var

  s : string;

  i : integer;

  f : boolean;

begin

  readln (s);

  writeln ('Тут ', length (s), ' символов');

  f := true;  

for i := 1 to length (s) div 2 do

    if s[i] <> s[length (s) - i + 1] then f := false;

  writeln ('Это слово является перевертышем: ', f); //True/False

end.

 

var

  s : string;

  i, k, count : integer;

  c : char;

begin

  readln (s);

  count := 0;

  for i := 1 to length (s) do

    if s[i] <> ' ' then

    begin

       c := s[i];

       k := i + 1;

       break;

    end;

  for i := k to length (s) do

    if (s[i] = ' ') and (c <> ' ') then

    begin

       if s[i - 1] = c then inc (count);

       c := ' ';

    end

    else if c = ' ' then c := s[i];

  if (c <> ' ' ) and (s[length (s)] <> ' ') and (c = s[length (s)]) then inc (count);

  writeln (count);

end.

Svetlana1287
Package main;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
     public static BufferedReader READER = new BufferedReader(new InputStreamReader(System.in));
    public static void main(String[] args) throws IOException {
        int N = Integer.parseInt(READER.readLine());
        int[] array = new int[N];
        for(int i = 0; i < array.length; ++i)
            array[i] = Integer.parseInt(READER.readLine());
        System.out.println("Negative: " + Main.function(array));
    }
     public static boolean function(int[] array) {
        for(int number : array)
            if(number >= 0) return false;
        return true;
     }
}

Ответить на вопрос

Поделитесь своими знаниями, ответьте на вопрос:

4. клавиша, вызывающая справку а) f4 б)f3 в)f1 г)f2
Ваше имя (никнейм)*
Email*
Комментарий*

Популярные вопросы в разделе

Klicheva_Ermachenkova1536
marinarodina90
Coverplus30
misstimarina2016
CafedeMinou
aaazovcev
kazimov832
vera-spicina
aleksey7800
Tadevosyan
borisovaks496
filternovo
tanyashevvvv
expozition
Avdimov5