КутузоваМартенюк
?>

Sub макрос5() ' ' макрос5 макрос ' ' dim number as long dim names as string number = inputbox("введите номер курсанского") names = inputbox("введите фамилию имя отчество") dim sa as double dim step as long dim min_num as integer sa = number mod 10 step = 10 do dim this_num as integer this_num = ((number - number mod step) mod (step * 10)) / step sa = (sa + this_num) / 2 step = step * 10 loop while step < number first_space_index = instr(1, names, " ") last_space_index = instrrev(names, " ", len(names)) len_first_word = len(left(names, first_space_index - 1)) len_second_word = last_space_index - 1 - first_space_index len_third_word = len(names) - last_space_index if len_first_word < = len_second_word then if len_frist_word < = len_third_word then min_num = len_first_word else min_num = len_third_word end if elseif len_second_word < = len_third_word then min_num = len_second_word else min_num = len_third_word end if selection.wholestory dim words_count as integer words_count = selection.words.count selection.homekey unit: =wdstory for i = 1 to words_count selection.moveright unit: =wdword, count: =1, extend: =wdextend if len(selection.text) < = sa then selection.font.size = 18 selection.font.colorindex = wdred selection.font.spacing = 3 selection.font.bold = true end if if len(selection.text) > = min_num then selection.text = " okay " end if selection.moveright unit: =wdcharacter, count: =1 next i end sub разобраться в макросепоясните каждое действиезаранее огромное !

Алгебра

Ответы

akuznecov8989
1. a)     =  (x⁴   -  x) |₃  ⁰  = (0⁴   -0) -(3 ⁴ -3) = 0 -(81-3) = -  78.  2.найдите первообразную для функции f(x)=3x^2-1,график которой проходит через точку m(1  ;   -1)  первообразная   функции  f(x)=3x ² -1: f(x)   =  ∫(3x² -1)dx = x³ - x +c  ,  где   c  произвольная    постоянная .   интегрирования. по условию график  функции    f(x)  проходит  через   точку   m(1;   -1),поэтому :     -1 =1³ - 1 +  c  ⇔     с = -1.ответ  :   f(x)  =     x³ - x -  1.
yurkovam-037
бабка. рисунок е. ванюковабабка была тучная, широкая, с мягким, певучим голосом. «всю квартиру собой » – ворчал борькин отец. а мать робко возражала ему: «старый куда же ей деться? » «зажилась на – вздыхал отец. – в инвалидном доме ей место – вот где! » все в доме, не исключая и борьки, смотрели на бабку как на совершенно лишнего человека. бабка спала на сундуке. всю ночь она тяжело ворочалась с боку на бок, а утром вставала раньше всех и гремела в кухне посудой. потом будила зятя и дочь: «самовар поспел. вставайте! попейте горяченького-то на » подходила к борьке: «вставай, батюшка мой, в школу пора! » «зачем? » – сонным голосом спрашивал борька. «в школу зачем? тёмный человек глух и нем – вот зачем! » борька прятал голову под одеяло: «иди ты, » в сенях отец шаркал веником. «а куда вы, мать, галоши дели? каждый раз во все углы тыкаешься из-за них! » бабка торопилась к нему на . «да вот они, петруша, на самом виду. вчерась уж грязны были, я их обмыла и поставила».

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

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

Sub макрос5() ' ' макрос5 макрос ' ' dim number as long dim names as string number = inputbox("введите номер курсанского") names = inputbox("введите фамилию имя отчество") dim sa as double dim step as long dim min_num as integer sa = number mod 10 step = 10 do dim this_num as integer this_num = ((number - number mod step) mod (step * 10)) / step sa = (sa + this_num) / 2 step = step * 10 loop while step < number first_space_index = instr(1, names, " ") last_space_index = instrrev(names, " ", len(names)) len_first_word = len(left(names, first_space_index - 1)) len_second_word = last_space_index - 1 - first_space_index len_third_word = len(names) - last_space_index if len_first_word < = len_second_word then if len_frist_word < = len_third_word then min_num = len_first_word else min_num = len_third_word end if elseif len_second_word < = len_third_word then min_num = len_second_word else min_num = len_third_word end if selection.wholestory dim words_count as integer words_count = selection.words.count selection.homekey unit: =wdstory for i = 1 to words_count selection.moveright unit: =wdword, count: =1, extend: =wdextend if len(selection.text) < = sa then selection.font.size = 18 selection.font.colorindex = wdred selection.font.spacing = 3 selection.font.bold = true end if if len(selection.text) > = min_num then selection.text = " okay " end if selection.moveright unit: =wdcharacter, count: =1 next i end sub разобраться в макросепоясните каждое действиезаранее огромное !
Ваше имя (никнейм)*
Email*
Комментарий*

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

Матфеопуло1006
Alyona
oooviktoria17
fitzhu
manager-3
shoora
pechinin
aleksvasin
skononova01
Savelieva24
svetlanadianowa
Лилит_Шутова
An-solomon
Tipan77
tigo1