<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-BR">
	<id>https://wiki.ifsc.edu.br/index.php?action=history&amp;feed=atom&amp;title=Respostas</id>
	<title>Respostas - Histórico de revisão</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ifsc.edu.br/index.php?action=history&amp;feed=atom&amp;title=Respostas"/>
	<link rel="alternate" type="text/html" href="https://wiki.ifsc.edu.br/index.php?title=Respostas&amp;action=history"/>
	<updated>2026-06-02T09:21:27Z</updated>
	<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.ifsc.edu.br/index.php?title=Respostas&amp;diff=17775&amp;oldid=prev</id>
		<title>imported&gt;Fargoud: /* QUESTÃO 4 */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ifsc.edu.br/index.php?title=Respostas&amp;diff=17775&amp;oldid=prev"/>
		<updated>2018-04-04T20:26:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;QUESTÃO 4&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;pt-BR&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Edição das 17h26min de 4 de abril de 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l103&quot;&gt;Linha 103:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 103:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         fat*=i;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         fat*=i;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      label2-&amp;gt;Text = Convert::ToString(fat);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      label2-&amp;gt;Text = Convert::ToString(fat);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;      maskedTextBox1-&amp;gt;Focus();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;      maskedTextBox1-&amp;gt;Focus();	&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;			&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==QUESTÃO 5==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==QUESTÃO 5==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Fargoud</name></author>
	</entry>
	<entry>
		<id>https://wiki.ifsc.edu.br/index.php?title=Respostas&amp;diff=17774&amp;oldid=prev</id>
		<title>imported&gt;Fargoud: /* QUESTÕES 1 A 3 */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ifsc.edu.br/index.php?title=Respostas&amp;diff=17774&amp;oldid=prev"/>
		<updated>2018-04-04T20:26:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;QUESTÕES 1 A 3&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;pt-BR&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Edição das 17h26min de 4 de abril de 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Linha 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #include &amp;lt;string&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #include &amp;lt;string&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  using namespace std;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  using namespace std;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  //QUESTÃO 1 DA PROVA ***********************&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  //QUESTÃO 1 DA PROVA ***********************&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  class Item      &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  class Item      &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Fargoud</name></author>
	</entry>
	<entry>
		<id>https://wiki.ifsc.edu.br/index.php?title=Respostas&amp;diff=17773&amp;oldid=prev</id>
		<title>imported&gt;Fargoud: /* QUESTÕES 1 A 3 */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ifsc.edu.br/index.php?title=Respostas&amp;diff=17773&amp;oldid=prev"/>
		<updated>2018-04-04T20:25:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;QUESTÕES 1 A 3&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;pt-BR&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Edição das 17h25min de 4 de abril de 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Linha 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #include &amp;lt;string&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  #include &amp;lt;string&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  using namespace std;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  using namespace std;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  // QUESTÃO 1 DA PROVA ***********************&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  //QUESTÃO 1 DA PROVA ***********************&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  class Item      &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  class Item      &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  { public:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  { public:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l88&quot;&gt;Linha 88:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 88:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     return 0;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     return 0;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==QUESTÃO 4==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==QUESTÃO 4==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Fargoud</name></author>
	</entry>
	<entry>
		<id>https://wiki.ifsc.edu.br/index.php?title=Respostas&amp;diff=17772&amp;oldid=prev</id>
		<title>imported&gt;Fargoud: Criou página com '  ==QUESTÕES 1 A 3==  Foram implementadas no mesmo programa, no aplicativo Codeblocks, com saída para Console:   #include &lt;iostream&gt;  #include &lt;string&gt;  using namespace std;...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.ifsc.edu.br/index.php?title=Respostas&amp;diff=17772&amp;oldid=prev"/>
		<updated>2018-04-04T20:21:25Z</updated>

		<summary type="html">&lt;p&gt;Criou página com &amp;#039;  ==QUESTÕES 1 A 3==  Foram implementadas no mesmo programa, no aplicativo Codeblocks, com saída para Console:   #include &amp;lt;iostream&amp;gt;  #include &amp;lt;string&amp;gt;  using namespace std;...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt; &lt;br /&gt;
==QUESTÕES 1 A 3==&lt;br /&gt;
&lt;br /&gt;
Foram implementadas no mesmo programa, no aplicativo Codeblocks, com saída para Console:&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;iostream&amp;gt;&lt;br /&gt;
 #include &amp;lt;string&amp;gt;&lt;br /&gt;
 using namespace std;&lt;br /&gt;
 // QUESTÃO 1 DA PROVA ***********************&lt;br /&gt;
 class Item     &lt;br /&gt;
 { public:&lt;br /&gt;
    string NomeItem;&lt;br /&gt;
    int Quantidade;&lt;br /&gt;
    float ValorUnitario;&lt;br /&gt;
    float TotalItem;&lt;br /&gt;
    Item();&lt;br /&gt;
    Item(string, int, float);&lt;br /&gt;
 private:&lt;br /&gt;
    float CalculaTotal();&lt;br /&gt;
 };&lt;br /&gt;
 //Construtor:&lt;br /&gt;
 Item::Item()&lt;br /&gt;
 {&lt;br /&gt;
    cout&amp;lt;&amp;lt; &amp;quot;\nEntre com o nome do produto: &amp;quot;;&lt;br /&gt;
    cin &amp;gt;&amp;gt; NomeItem;&lt;br /&gt;
    cout&amp;lt;&amp;lt;&amp;quot;\nEntre com a quantidade de itens deste produto: &amp;quot;;&lt;br /&gt;
    cin &amp;gt;&amp;gt; Quantidade;&lt;br /&gt;
    cout&amp;lt;&amp;lt;&amp;quot;\nEntre com o preco do produto: &amp;quot;;&lt;br /&gt;
    cin &amp;gt;&amp;gt; ValorUnitario;&lt;br /&gt;
    cout&amp;lt;&amp;lt; &amp;quot;\nValor total do Item:    R$&amp;quot; &amp;lt;&amp;lt; CalculaTotal() ;&lt;br /&gt;
    cout &amp;lt;&amp;lt;&amp;quot;\n\n\n&amp;quot;&amp;lt;&amp;lt; endl  ;&lt;br /&gt;
 }&lt;br /&gt;
 //método privado:&lt;br /&gt;
 float Item::CalculaTotal()&lt;br /&gt;
 {&lt;br /&gt;
    TotalItem = ValorUnitario * Quantidade;&lt;br /&gt;
    return TotalItem;&lt;br /&gt;
 }        // FIM QUESTÃO 1 DA PROVA ***********************&lt;br /&gt;
&lt;br /&gt;
   // QUESTÃO 2 DA PROVA ***********************&lt;br /&gt;
 Item::Item(string Nome, int x, float y)   &lt;br /&gt;
 {&lt;br /&gt;
    NomeItem= Nome;&lt;br /&gt;
    Quantidade=x;&lt;br /&gt;
    ValorUnitario=y;&lt;br /&gt;
    cout &amp;lt;&amp;lt; &amp;quot;\nItem: &amp;quot; &amp;lt;&amp;lt; NomeItem;&lt;br /&gt;
    cout &amp;lt;&amp;lt; &amp;quot;\nNumero de itens: &amp;quot;&amp;lt;&amp;lt; Quantidade;&lt;br /&gt;
    cout &amp;lt;&amp;lt; &amp;quot;\nValor unitario: &amp;quot;&amp;lt;&amp;lt; ValorUnitario;&lt;br /&gt;
    cout&amp;lt;&amp;lt; &amp;quot;\nValor total do Item:    R$&amp;quot; &amp;lt;&amp;lt; CalculaTotal() ;&lt;br /&gt;
    cout &amp;lt;&amp;lt;&amp;quot;\n\n\n&amp;quot;&amp;lt;&amp;lt; endl  ;&lt;br /&gt;
 }    // FIM QUESTÃO 2 DA PROVA ***********************&lt;br /&gt;
&lt;br /&gt;
  // QUESTÃO 3 DA PROVA ***********************&lt;br /&gt;
 class Estoque  &lt;br /&gt;
 {   public:&lt;br /&gt;
    int NItens;&lt;br /&gt;
    Estoque();&lt;br /&gt;
    private:&lt;br /&gt;
   float CalculaTotalEstoque(Item []);&lt;br /&gt;
 };&lt;br /&gt;
  //construtor:&lt;br /&gt;
 Estoque::Estoque()&lt;br /&gt;
 {&lt;br /&gt;
    cout &amp;lt;&amp;lt; &amp;quot;************************&amp;quot; &amp;lt;&amp;lt;  endl;&lt;br /&gt;
    cout &amp;lt;&amp;lt; &amp;quot; Cadastro de Produtos &amp;quot;&amp;lt;&amp;lt; endl;&lt;br /&gt;
    cout&amp;lt;&amp;lt; &amp;quot;\nEntre com o numero de diferentes produtos no estoque (maximo 20): &amp;quot;;&lt;br /&gt;
    cin &amp;gt;&amp;gt; NItens;&lt;br /&gt;
    Item Itens[NItens];&lt;br /&gt;
    cout&amp;lt;&amp;lt; &amp;quot;\nValor Total em Estoque:    R$&amp;quot; &amp;lt;&amp;lt; CalculaTotalEstoque(Itens) &amp;lt;&amp;lt;&amp;quot;\n\n\n&amp;quot;&amp;lt;&amp;lt; endl  ;&lt;br /&gt;
 }&lt;br /&gt;
 //método privado:&lt;br /&gt;
 float Estoque::CalculaTotalEstoque(Item TempItens[])&lt;br /&gt;
 { float ValorTotalEstoque=0;&lt;br /&gt;
   int i;&lt;br /&gt;
   for(i=0;i&amp;lt;NItens;i++)&lt;br /&gt;
        ValorTotalEstoque += TempItens[i].TotalItem;&lt;br /&gt;
    return ValorTotalEstoque;&lt;br /&gt;
 }                  // FIM QUESTÃO 3 DA PROVA ***********************&lt;br /&gt;
&lt;br /&gt;
 //Código cliente:&lt;br /&gt;
 int main()&lt;br /&gt;
 {&lt;br /&gt;
    cout &amp;lt;&amp;lt; &amp;quot;************************&amp;quot; &amp;lt;&amp;lt;  endl;&lt;br /&gt;
    cout &amp;lt;&amp;lt; &amp;quot;** PROGRAMA DO ESTOQUE ***&amp;quot;&amp;lt;&amp;lt; endl;&lt;br /&gt;
    cout &amp;lt;&amp;lt; &amp;quot;************************\n&amp;quot; &amp;lt;&amp;lt; endl;&lt;br /&gt;
    Item  TestaSobrecarga(&amp;quot;Item teste sobrecarga&amp;quot;, 10, 2.5);&lt;br /&gt;
    Estoque Est1;&lt;br /&gt;
    return 0;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==QUESTÃO 4==&lt;br /&gt;
&lt;br /&gt;
Foi criado um formulário contendo, principalmente, um controle do tipo maskedTextBox para a entrada do valor n, um rótulo (label2) para a saída do valor do fatorial e um botão (button1), para disparar o evento de cálculo:&lt;br /&gt;
&lt;br /&gt;
 private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {&lt;br /&gt;
     double fat = 1; //variavel para acumular o calculo do fatorial&lt;br /&gt;
     int n = Convert::ToInt16(maskedTextBox1-&amp;gt;Text);  //valor a ser calculado o fatorial&lt;br /&gt;
 //controle masketTextBox contem mascara &amp;quot;99&amp;quot;, para limitar numeros inteiros de duas casas decimais&lt;br /&gt;
     if(n&amp;lt;0)&lt;br /&gt;
        label2-&amp;gt;Text = &amp;quot;Apenas inteiros positivos!&amp;quot;; //label para saida&lt;br /&gt;
     for(int i=2;i&amp;lt;=n;i++)&lt;br /&gt;
        fat*=i;&lt;br /&gt;
     label2-&amp;gt;Text = Convert::ToString(fat);&lt;br /&gt;
     maskedTextBox1-&amp;gt;Focus();&lt;br /&gt;
			&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==QUESTÃO 5==&lt;br /&gt;
&lt;br /&gt;
===Interface gráfica:===&lt;br /&gt;
&lt;br /&gt;
[[image: InterGrafp1.png|center]]&lt;br /&gt;
&lt;br /&gt;
===Classe Pessoa.h:===&lt;br /&gt;
&lt;br /&gt;
 #pragma once&lt;br /&gt;
 using namespace System;&lt;br /&gt;
 ref class Pessoa&lt;br /&gt;
 {  &lt;br /&gt;
 public:&lt;br /&gt;
    String^ Nome;&lt;br /&gt;
    int Idade;&lt;br /&gt;
    int Dia;&lt;br /&gt;
    int Mes;&lt;br /&gt;
    int Ano;&lt;br /&gt;
    String^ RG;&lt;br /&gt;
    Pessoa(String^, int, int, int, int, String^);&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Classe Pessoa.cpp:===&lt;br /&gt;
&lt;br /&gt;
 #include &amp;quot;StdAfx.h&amp;quot;&lt;br /&gt;
 #include &amp;quot;Pessoa.h&amp;quot;&lt;br /&gt;
 #define ANOATUAL 2018&lt;br /&gt;
 using namespace System;&lt;br /&gt;
 using namespace System::Windows::Forms;&lt;br /&gt;
 //construtor:&lt;br /&gt;
 Pessoa::Pessoa(String^ nome, int i, int d, int m, int a, String^ rg)&lt;br /&gt;
 {&lt;br /&gt;
    if(d&amp;gt;0 &amp;amp;&amp;amp; d&amp;lt;32&amp;amp;&amp;amp; a&amp;lt;=ANOATUAL &amp;amp;&amp;amp; m&amp;gt;0 &amp;amp;&amp;amp; m&amp;lt;13 &amp;amp;&amp;amp;((i==(ANOATUAL - a))||(i==(ANOATUAL - a -1))))&lt;br /&gt;
   {	Nome = nome;&lt;br /&gt;
        Idade = i;&lt;br /&gt;
        Dia = d;&lt;br /&gt;
        Mes = m;&lt;br /&gt;
        Ano = a;&lt;br /&gt;
        RG = rg;&lt;br /&gt;
        MessageBox::Show(&amp;quot;Cadastro efetuado com sucesso&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
        MessageBox::Show(&amp;quot;Erro de preenchimento!&amp;quot;);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Código-Cliente - form1.h:===&lt;br /&gt;
&lt;br /&gt;
     private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {&lt;br /&gt;
     String^ temp1;&lt;br /&gt;
     String ^temp2;&lt;br /&gt;
     int x, y, z, w;&lt;br /&gt;
     temp1 = textBox1-&amp;gt;Text;&lt;br /&gt;
     temp2 = textBox2-&amp;gt;Text;&lt;br /&gt;
     x = Convert::ToInt16(maskedTextBox4-&amp;gt;Text);&lt;br /&gt;
     y = Convert::ToInt16(maskedTextBox1-&amp;gt;Text);&lt;br /&gt;
     z = Convert::ToInt16(maskedTextBox2-&amp;gt;Text);&lt;br /&gt;
     w = Convert::ToInt16(maskedTextBox3-&amp;gt;Text);&lt;br /&gt;
     Pessoa pessoa1(temp1, x, y, z, w, temp2);&lt;br /&gt;
  }&lt;/div&gt;</summary>
		<author><name>imported&gt;Fargoud</name></author>
	</entry>
</feed>