Program chisla; uses crt; var a,b,n,k: integer; begin b: =0; writeln('нахождение чисел кратным 2-м'); writeln('введите интервал чисел: '); readln(n,k); for a: =n to k do if (a mod 2=0) then begin write(a,' '); b: =b+1; end; end.
BirUlek215
11.04.2021
Первая программа: < ! doctype html> < html> < head> < style> body { text-align: center; } form { display: inline-block; } form > button { width: 100%; } < /style> < script> function privetstvie() { var name1 = "моё имя"; var name = document.getelementbyid("pole_vvoda_imeni").value; var pole_vuvoda_privetstviya = document.getelementbyid("pole_vuvoda_privetstviya"); if (name === name1) { pole_vuvoda_privetstviya.innerhtml = " мне! "; } else { pole_vuvoda_privetstviya.innerhtml = ", незнакомец"; } } < /script> < /head> < body> < form> < div> < label for="pole_vvoda_imeni"> , введите своё имя: < /label> < input id="pole_vvoda_imeni" type="text"> < /div> < button type="button" onclick="privetstvie(); "> поздароваться< /button> < div id="pole_vuvoda_privetstviya"> < /div> < /form> < /body> < /html> вторая программа: < ! doctype html> < html> < head> < style> body { text-align: center; } form { display: inline-block; } form > button { width: 100%; } < /style> < script> function privetstvie() { var name1 = "моё имя"; var name2 = "имя друга"; var name3 = "имя другого друга"; var name = document.getelementbyid("pole_vvoda_imeni").value; var pole_vuvoda_privetstviya = document.getelementbyid("pole_vuvoda_privetstviya"); switch (name) { case name1: pole_vuvoda_privetstviya.innerhtml = ", мне! "; break; case name2: pole_vuvoda_privetstviya.innerhtml = ", "+name2+"! "; break; case name3: pole_vuvoda_privetstviya.innerhtml = ", "+name3+"! "; break; default: pole_vuvoda_privetstviya.innerhtml = ", незнакомец"; } } < /script> < /head> < body> < form> < div> < label for="pole_vvoda_imeni"> , введите своё имя: < /label> < input id="pole_vvoda_imeni" type="text"> < /div> < button type="button" onclick="privetstvie(); "> поздароваться< /button> < div id="pole_vuvoda_privetstviya"> < /div> < /form> < /body> < /html>
mariashapar
11.04.2021
1) a=5b=a*4b= b div 7+aa=3*(b div a)a=5 b=20a=5 b=7a=3 b=72) a=129b=a div 10a=a-10*b=b=b div что-то в двух последних строках не 3) a=145b=a div 10a= a-bb=a div ba=145 b=14a=131 b=14a=131 b=94)a=5b=a*3a=b mod 7+ab=b mod a+4a=5 b=15a=6 b=15a=6 b=75)a=5a=2*a-3b=12-21/ab=3*b-aa=7 b=0 a=7 b=9 a=7 b=20