vara,b: integer; beginwrite('введите первое число: '); readln(a); write('введите второе число: '); readln(b); if a> b then writeln('меньшее число: ',b) else writeln('меньшее число: ',a)end.
Kolosove5465
11.04.2023
Using system; using system.collections.generic; public class program { public static void main() { list< anotherclass> classes = new list< anotherclass> (); for(int i = 0; i< 10; i++) classes.add(new anotherclass(i)); foreach(anotherclass tmp in classes) console.writeline(tmp.num); } } public class anotherclass { public anotherclass(int num) { this.num = num; } public readonly int num; }
mouse-0211fsb3509
11.04.2023
Var let: array [1..63] of integer = (5 , 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ,16 ,17 , 18, 19 , 20, 25, 26, 27, 28, 29,30, 35, 36, 37, 38, 39, 40, 45, 46, 47, 48, 49, 50, 55, 56, 57, 58, 59, 60, 65, 66, 67, 68, 69, 70, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 95, 96, 97, 98, 99); gad: array [1..9] of integer = (1, 21, 31, 41, 51, 61, 71 ,81 ,91); goda: array[1..27] of integer = (2,3,4,22,23,24,32,33,34,42,43,44,52,53,54,62,63,64,72,73,74,82,83,84,92,93,94); k: integer; begin for k: =1 to 99 do begin if k = let then begin writeln('мне', k, 'лет'); end; if k = gad then begin writeln('мне', k, 'год'); end; if k = goda then begin writeln('мне', k, 'года'); end; end; end.
Ответить на вопрос
Поделитесь своими знаниями, ответьте на вопрос:
Решить алгоритмом блок схемой вот ) определить и вывести меньшее из двух вводимых чисел))
vara,b: integer; beginwrite('введите первое число: '); readln(a); write('введите второе число: '); readln(b); if a> b then writeln('меньшее число: ',b) else writeln('меньшее число: ',a)end.