<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://mechanics.mattekollen.se/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="sv">
		<id>https://mechanics.mattekollen.se/index.php?action=history&amp;feed=atom&amp;title=%C3%96vningar_19_%28Progr_3%29</id>
		<title>Övningar 19 (Progr 3) - Versionshistorik</title>
		<link rel="self" type="application/atom+xml" href="https://mechanics.mattekollen.se/index.php?action=history&amp;feed=atom&amp;title=%C3%96vningar_19_%28Progr_3%29"/>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;action=history"/>
		<updated>2026-09-26T07:55:07Z</updated>
		<subtitle>Versionshistorik för denna sida på wikin</subtitle>
		<generator>MediaWiki 1.23.1</generator>

	<entry>
		<id>https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29708&amp;oldid=prev</id>
		<title>Taifun den 26 oktober 2021 kl. 12.34</title>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29708&amp;oldid=prev"/>
				<updated>2021-10-26T12:34:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 26 oktober 2021 kl. 12.34&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Kryptering av strängar&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84-86.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Kryptering av strängar&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84-86.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Referens som parameter och returvärde&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Referens som parameter och returvärde&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; I metoden Encrypt() finns satsen: ch = (char)(ch + n); Undersök följande fråga:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; I metoden Encrypt()&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, klassen EncryptStr, &lt;/ins&gt;finns satsen: ch = (char)(ch + n); Undersök följande fråga:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; Varför måste (ch + n) explicit konverteras till char, när variabeln ch redan är deklarerad till char?&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; Varför måste (ch + n) explicit konverteras till char, när variabeln ch redan är deklarerad till char?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Lös uppgiften nedan:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Lös uppgiften nedan:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taifun</name></author>	</entry>

	<entry>
		<id>https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29707&amp;oldid=prev</id>
		<title>Taifun den 26 oktober 2021 kl. 12.33</title>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29707&amp;oldid=prev"/>
				<updated>2021-10-26T12:33:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 26 oktober 2021 kl. 12.33&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Kryptering av strängar&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84-86.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Kryptering av strängar&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84-86.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Referens som parameter och returvärde&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Referens som parameter och returvärde&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* &amp;amp;nbsp; I metoden Encrypt() finns satsen: ch = (char)(ch + n); Undersök följande fråga:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; Varför måste (ch + n) explicit konverteras till char, när variabeln ch redan är deklarerad till char?&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Lös uppgiften nedan:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Lös uppgiften nedan:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taifun</name></author>	</entry>

	<entry>
		<id>https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29704&amp;oldid=prev</id>
		<title>Taifun den 24 oktober 2021 kl. 17.37</title>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29704&amp;oldid=prev"/>
				<updated>2021-10-24T17:37:37Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 24 oktober 2021 kl. 17.37&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Definiera krypteringen av tecknen med en linjär funktion y = k x + m, dvs:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Definiera krypteringen av tecknen med en linjär funktion y = k x + m, dvs:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Ersätt satsen &amp;lt;b&amp;gt;ch = (char)(ch + n);&amp;lt;/b&amp;gt; med &amp;lt;b&amp;gt;ch = (char)(k*ch + m);&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Ersätt satsen &amp;lt;b&amp;gt;ch = (char)(ch + n);&amp;lt;/b&amp;gt; med &amp;lt;b&amp;gt;ch = (char)(k*ch + m);&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Lägg till en ny metod &amp;lt;b&amp;gt;Decrypt(String t, int k, int m)&amp;lt;/b&amp;gt; som dekrypterar tecknen med &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;den&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Lägg till en ny metod &amp;lt;b&amp;gt;Decrypt(String t, int k, int m)&amp;lt;/b&amp;gt; som dekrypterar tecknen med&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; inversa funktionen y = (x - m) / k dvs: &amp;lt;b&amp;gt;ch = (char)((ch - m)/k);&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;den &lt;/ins&gt;inversa funktionen y = (x - m) / k dvs: &amp;lt;b&amp;gt;ch = (char)((ch - m)/k);&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Anropa båda metoderna från Main() genom att skicka värdena 2 till k och -5 till m.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Anropa båda metoderna från Main() genom att skicka värdena 2 till k och -5 till m.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; Dvs krypteringsfunktionen blir y = 2 x - 5 och dekrypteringsfunktionen y = (x + 5) / 2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; Dvs krypteringsfunktionen blir y = 2 x - 5 och dekrypteringsfunktionen y = (x + 5) / 2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taifun</name></author>	</entry>

	<entry>
		<id>https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29703&amp;oldid=prev</id>
		<title>Taifun den 24 oktober 2021 kl. 17.36</title>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29703&amp;oldid=prev"/>
				<updated>2021-10-24T17:36:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 24 oktober 2021 kl. 17.36&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Vidareutveckla krypteringsalgoritmen i [[3.4_Kryptering_av_strängar#Klassen EncryptStr|&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Klassen EncryptStr&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Vidareutveckla krypteringsalgoritmen i [[3.4_Kryptering_av_strängar#Klassen EncryptStr|&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Klassen EncryptStr&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Modifiera klassen &amp;lt;b&amp;gt;EncryptStr&amp;lt;/b&amp;gt; till en ny klass &amp;lt;b&amp;gt;EncryptStr_Fkt&amp;lt;/b&amp;gt; så här:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Modifiera klassen &amp;lt;b&amp;gt;EncryptStr&amp;lt;/b&amp;gt; till en ny klass &amp;lt;b&amp;gt;EncryptStr_Fkt&amp;lt;/b&amp;gt; så här:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Döp om &lt;/del&gt;metoden &amp;lt;b&amp;gt;Encrypt(String t, int n)&amp;lt;/b&amp;gt; till &amp;lt;b&amp;gt;Encrypt(String t, int k, int m)&amp;lt;/b&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Modifiera &lt;/ins&gt;metoden &amp;lt;b&amp;gt;Encrypt(String t, int n)&amp;lt;/b&amp;gt; till &amp;lt;b&amp;gt;Encrypt(String t, int k, int m)&amp;lt;/b&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Definiera krypteringen av tecknen med en linjär funktion y = k x + m, dvs:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Definiera krypteringen av tecknen med en linjär funktion y = k x + m, dvs:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Ersätt satsen &amp;lt;b&amp;gt;ch = (char)(ch + n);&amp;lt;/b&amp;gt; med &amp;lt;b&amp;gt;ch = (char)(k*ch + m);&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Ersätt satsen &amp;lt;b&amp;gt;ch = (char)(ch + n);&amp;lt;/b&amp;gt; med &amp;lt;b&amp;gt;ch = (char)(k*ch + m);&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taifun</name></author>	</entry>

	<entry>
		<id>https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29702&amp;oldid=prev</id>
		<title>Taifun den 24 oktober 2021 kl. 17.32</title>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29702&amp;oldid=prev"/>
				<updated>2021-10-24T17:32:46Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 24 oktober 2021 kl. 17.32&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; inversa funktionen y = (x - m) / k dvs: &amp;lt;b&amp;gt;ch = (char)((ch - m)/k);&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; inversa funktionen y = (x - m) / k dvs: &amp;lt;b&amp;gt;ch = (char)((ch - m)/k);&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Anropa båda metoderna från Main() genom att skicka värdena 2 till k och -5 till m.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Anropa båda metoderna från Main() genom att skicka värdena 2 till k och -5 till m.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; Dvs krypteringsfunktionen blir y = 2 x - 5 och dekrypteringsfunktionen y = (x + 5) / 2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taifun</name></author>	</entry>

	<entry>
		<id>https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29701&amp;oldid=prev</id>
		<title>Taifun den 24 oktober 2021 kl. 17.25</title>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29701&amp;oldid=prev"/>
				<updated>2021-10-24T17:25:24Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 24 oktober 2021 kl. 17.25&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Vidareutveckla krypteringsalgoritmen i [[3.4_Kryptering_av_strängar#Klassen EncryptStr|&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Klassen EncryptStr&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Vidareutveckla krypteringsalgoritmen i [[3.4_Kryptering_av_strängar#Klassen EncryptStr|&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Klassen EncryptStr&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Modifiera klassen EncryptStr till en ny klass EncryptStr_Fkt så här:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Modifiera klassen &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;EncryptStr&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt; &lt;/ins&gt;till en ny klass &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;EncryptStr_Fkt&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt; &lt;/ins&gt;så här:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Döp om metoden Encrypt(String t, int n) till Encrypt(String t, int k, int m).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Döp om metoden &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;Encrypt(String t, int n)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt; &lt;/ins&gt;till &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;Encrypt(String t, int k, int m)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt;&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Definiera krypteringen av tecknen med en linjär funktion y = k x + m, dvs:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Definiera krypteringen av tecknen med en linjär funktion y = k x + m, dvs:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Ersätt satsen &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;som krypterar tecknen &lt;/del&gt;med ch = (char)(k*ch + m);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Ersätt satsen &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;ch = (char)(ch + n);&amp;lt;/b&amp;gt; &lt;/ins&gt;med &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;ch = (char)(k*ch + m);&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Lägg till en ny metod Decrypt(String t, int k, int m) som dekrypterar tecknen med den&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Lägg till en ny metod &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;Decrypt(String t, int k, int m)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt; &lt;/ins&gt;som dekrypterar tecknen med den&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; inversa funktionen y = (x - m) / k dvs: ch = (char)((ch - m)/k);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; inversa funktionen y = (x - m) / k dvs: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;b&amp;gt;&lt;/ins&gt;ch = (char)((ch - m)/k);&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/b&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Anropa båda metoderna från Main() genom att skicka värdena 2 till k och -5 till m.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Anropa båda metoderna från Main() genom att skicka värdena 2 till k och -5 till m.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taifun</name></author>	</entry>

	<entry>
		<id>https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29700&amp;oldid=prev</id>
		<title>Taifun den 24 oktober 2021 kl. 16.00</title>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29700&amp;oldid=prev"/>
				<updated>2021-10-24T16:00:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 24 oktober 2021 kl. 16.00&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;ovnC&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;ovnC&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Modularisera&amp;#160; &lt;/del&gt;[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Bubbelsortering&lt;/del&gt;#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Klassen_Bubble&lt;/del&gt;|&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;klassen Bubble:&lt;/del&gt;&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Vidareutveckla krypteringsalgoritmen i &lt;/ins&gt;[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;3.4_Kryptering_av_strängar&lt;/ins&gt;#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Klassen EncryptStr&lt;/ins&gt;|&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Klassen EncryptStr&lt;/ins&gt;&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Flytta algoritmen för platsbyte av två element från metoden Sort() &lt;/del&gt;till en ny &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;metod Swap().&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Modifiera klassen EncryptStr &lt;/ins&gt;till en ny &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;klass EncryptStr_Fkt så här:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; Metoden Swap&lt;/del&gt;() &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ska byta plats på två element om de står i fel ordning&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* &lt;/ins&gt;&amp;amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Döp om metoden Encrypt&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;String t, int n) till Encrypt(String t, int k, int m&lt;/ins&gt;).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Placera metoden Swap() i &lt;/del&gt;en &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ny klass Swapping i en extern fil.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Definiera krypteringen av tecknen med &lt;/ins&gt;en &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;linjär funktion y = k x + m, dvs:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Anropa metoden Swap&lt;/del&gt;() &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;i metoden Sort&lt;/del&gt;()&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Ersätt satsen som krypterar tecknen med ch = &lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;char&lt;/ins&gt;)(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;k*ch + m&lt;/ins&gt;)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Hur borde du överföra parametrarna mellan metoderna Sort&lt;/del&gt;() &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;och Swap()?&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Lägg till en ny metod Decrypt&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;String t, int k, int m&lt;/ins&gt;) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;som dekrypterar tecknen med den&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;* &lt;/del&gt;&amp;amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Om du har glömt hur man gör repetera [[Lektion_7_&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Progr_3&lt;/del&gt;)&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|&amp;lt;b&amp;gt;&amp;lt;span style&lt;/del&gt;=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;color:blue&amp;quot;&amp;gt;Lektion 7&amp;lt;&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;span&amp;gt;&amp;lt;/b&amp;gt;]] som behandlar referensanrop.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; inversa funktionen y = &lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;x - m&lt;/ins&gt;) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/ k dvs: ch &lt;/ins&gt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(char)((ch - m)&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;k);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Testa modulariseringen&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Anropa båda metoderna från Main() genom att skicka värdena 2 till k och -5 till m&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taifun</name></author>	</entry>

	<entry>
		<id>https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29699&amp;oldid=prev</id>
		<title>Taifun den 24 oktober 2021 kl. 15.40</title>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29699&amp;oldid=prev"/>
				<updated>2021-10-24T15:40:12Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 24 oktober 2021 kl. 15.40&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in [[3.4_Kryptering_av_strängar#Klassen EncryptStr|&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Klassen EncryptStr&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. Kompilera.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in [[3.4_Kryptering_av_strängar#Klassen EncryptStr|&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Klassen EncryptStr&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. Kompilera.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in [[3.4_Kryptering_av_strängar#Programmet EncryptStrTest|&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Programmet &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EncryptStrTes&lt;/del&gt;&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. Kompilera och kör.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in [[3.4_Kryptering_av_strängar#Programmet EncryptStrTest|&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Programmet &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;EncryptStrTest&lt;/ins&gt;&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. Kompilera och kör.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Kryptering av strängar&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84-86.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Kryptering av strängar&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84-86.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Referens som parameter och returvärde&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Referens som parameter och returvärde&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taifun</name></author>	</entry>

	<entry>
		<id>https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29698&amp;oldid=prev</id>
		<title>Taifun den 24 oktober 2021 kl. 15.10</title>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29698&amp;oldid=prev"/>
				<updated>2021-10-24T15:10:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 24 oktober 2021 kl. 15.10&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;ovnE&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;ovnE&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in [[3.4_Kryptering_av_strängar#Klassen EncryptStr &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Klassen EncryptStr&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. Kompilera.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in [[3.4_Kryptering_av_strängar#Klassen EncryptStr&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|&lt;/ins&gt;&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Klassen EncryptStr&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. Kompilera.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in [[3.4_Kryptering_av_strängar#Programmet EncryptStrTest &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Programmet EncryptStrTes&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. Kompilera och kör.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in [[3.4_Kryptering_av_strängar#Programmet EncryptStrTest&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|&lt;/ins&gt;&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Programmet EncryptStrTes&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]]. Kompilera och kör.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Kryptering av strängar&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84-86.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Kryptering av strängar&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84-86.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Referens som parameter och returvärde&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Referens som parameter och returvärde&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taifun</name></author>	</entry>

	<entry>
		<id>https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29697&amp;oldid=prev</id>
		<title>Taifun den 24 oktober 2021 kl. 15.09</title>
		<link rel="alternate" type="text/html" href="https://mechanics.mattekollen.se/index.php?title=%C3%96vningar_19_(Progr_3)&amp;diff=29697&amp;oldid=prev"/>
				<updated>2021-10-24T15:09:28Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 24 oktober 2021 kl. 15.09&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;ovnE&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;ovnE&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;big&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in [3.4_Kryptering_av_strängar#Klassen EncryptStr &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Klassen EncryptStr&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]. Kompilera.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;[3.4_Kryptering_av_strängar#Klassen EncryptStr &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Klassen EncryptStr&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;]. Kompilera.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in [3.4_Kryptering_av_strängar#Programmet EncryptStrTest &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Programmet EncryptStrTes&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;]. Kompilera och kör.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Mata in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;[3.4_Kryptering_av_strängar#Programmet EncryptStrTest &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Programmet EncryptStrTes&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;]. Kompilera och kör.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Kryptering av strängar&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84-86.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Kryptering av strängar&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84-86.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Referens som parameter och returvärde&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;amp;nbsp; Läs om &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Referens som parameter och returvärde&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt; i [http://www.mathonline.se/Progr_3/2%20Boken%20Progr_3_Cs.pdf &amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;kursboken&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;], sid 84.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taifun</name></author>	</entry>

	</feed>