<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hoi Hermann,<br>
<br>
Die Lösung des Studenten ist auch die, welche ich zuerst
hingeschrieben hätte.<br>
Wir haben unser Programm aber aus zwei Gründen anderst gestaltet<br>
1.) Sie ist auch für den Fall x = 0 korrekt<br>
2.) Sie leitet sich direkt aus der vorher gezeigten Variante mit
IF ab.<br>
<br>
Gruss<br>
Felix<br>
<br>
PS: meine Antworten dienen nicht nur als Rechtfertigung sondern
auch für unser Protokoll. In jedem Falle freue ich mich über das
Feedback, welches Du uns weiterleitest.<br>
PPS: Ich wiederhole mich, aber ich kann mich kaum genug
begeistern: Codeboard.ethz.ch ist Spitze!<br>
<br>
<br>
<br>
</div>
<blockquote
cite="mid:D9AF17A4-402A-40A7-ADED-52DDBB182832@inf.ethz.ch"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Auch hier etwas mehr 'inhaltliches' Feedback.<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">Begin forwarded message:</div>
<br class="Apple-interchange-newline">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica
Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"
class=""><b class="">From:
</b></span><span style="font-family: -webkit-system-font,
Helvetica Neue, Helvetica, sans-serif;" class=""><<a
moz-do-not-send="true"
href="mailto:notifications@teamworkdesk.com" class="">notifications@teamworkdesk.com</a>><br
class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica
Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"
class=""><b class="">Subject:
</b></span><span style="font-family: -webkit-system-font,
Helvetica Neue, Helvetica, sans-serif;" class=""><b
class="">[pele] [E.Tutorial] Rückmeldung #1131475</b><br
class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica
Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"
class=""><b class="">Date:
</b></span><span style="font-family: -webkit-system-font,
Helvetica Neue, Helvetica, sans-serif;" class="">24
September 2016 at 13:44:33 GMT+2<br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica
Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"
class=""><b class="">To:
</b></span><span style="font-family: -webkit-system-font,
Helvetica Neue, Helvetica, sans-serif;" class="">Hermann
Lehner <<a moz-do-not-send="true"
href="mailto:hermann.lehner@inf.ethz.ch" class="">hermann.lehner@inf.ethz.ch</a>><br
class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica
Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);"
class=""><b class="">Reply-To:
</b></span><span style="font-family: -webkit-system-font,
Helvetica Neue, Helvetica, sans-serif;" class="">" via
Teamwork Desk" <<a moz-do-not-send="true"
href="mailto:ticket.1131475.233381.166122.vzSMCD6M29@teamworkdesk.com"
class="">ticket.1131475.233381.166122.vzSMCD6M29@teamworkdesk.com</a>><br
class="">
</span></div>
<br class="">
<div class="">
<div itemscopeitemtype="http://schema.org/EmailMessage"
style="font-family: Arial, Helvetica, sans-serif;
font-size: 14px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(249, 249, 249);" class="">
<div itemprop="potentialAction"
itemscopeitemtype="http://schema.org/ViewAction"
class="">
</div>
</div>
<table class="twDeskNotificationTable" id="main-wrapper"
style="font-family: Arial, Helvetica, sans-serif;
font-size: 14px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(249, 249, 249); width: 821px;
height: auto; table-layout: fixed; border: none;
vertical-align: baseline; padding: 0px; margin: 0px 0px
15px;" border="0" cellpadding="0" cellspacing="0">
<thead class="">
<tr class="">
<th style="background-color: rgb(222, 224, 226);
height: 30px; font-family: Verdana, Geneva,
sans-serif; font-size: 14px; color: rgb(153, 153,
153); font-weight: normal;" class="">
<img moz-do-not-send="true"
src="https://ethz.teamwork.com/desk/images/email/arrow-tophead.png"
style="vertical-align: middle;" class=""
height="9" width="12"><span
class="Apple-converted-space"> </span>Write ABOVE
THIS LINE to post a reply</th>
</tr>
<tr class="">
<th style="height: 69px; border-bottom-width: 1px;
border-bottom-style: solid; border-bottom-color:
rgb(230, 230, 230); padding: 10px 20px;" class="">
<table id="asigned-to" style="width: 781px; height:
auto; table-layout: fixed; text-align: left;
border: none; vertical-align: baseline; margin:
0px; padding: 0px;" class="" border="0"
cellpadding="0" cellspacing="0">
<tbody class="">
<tr class="">
<td class="image-holder" style="font-weight:
normal;" width="60px"><img
moz-do-not-send="true"
src="https://ethz.teamwork.com/desk/"
style="border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;" class=""
height="50" width="50"></td>
<td class="content-holder" style="font-weight:
normal;">
<p style="margin: 0px 0px 10px; line-height:
1; font-size: 16px; color: rgb(102, 102,
102); font-weight: normal;" class="">
<strong style="color: rgb(51, 51, 51);"
class=""></strong>assigned ticket<span
class="Apple-converted-space"> </span><a
moz-do-not-send="true"
href="https://ethz.teamwork.com/desk/#/tickets/1131475"
style="text-decoration: none; color:
rgb(51, 102, 204);" class="">#1131475</a><span
class="Apple-converted-space"> </span>to
you<span class="Apple-converted-space"> </span><br
class="">
</p>
<div style="margin: 0px; line-height: 1;
font-size: 12px; color: rgb(102, 102,
102); font-weight: normal;" class="">
<strong class="">Customer:</strong><span
class="Apple-converted-space"> </span><a
moz-do-not-send="true"
href="mailto:franzto@student.ethz.ch"
style="text-decoration: none;" class="">franzto@student.ethz.ch</a></div>
</td>
</tr>
<tr class="">
<td colspan="2" class="date-holder"
style="font-weight: normal; text-align:
right; vertical-align: bottom; padding: 10px
0px 0px;">
<a moz-do-not-send="true"
href="https://ethz.teamwork.com/desk/#myprofile/notifications"
style="text-decoration: none; color:
rgb(51, 102, 204); font-size: 13px;
font-weight: normal;" class="">Notification
Settings</a></td>
</tr>
</tbody>
</table>
</th>
</tr>
</thead>
<tbody class="">
<tr class="">
<td id="ticket-title-row" style="font-weight: normal;
font-family: Verdana, Geneva, sans-serif; font-size:
20px; padding: 15px; height: 50px; line-height:
1.1;" class="">
<h2 style="font-size: inherit; margin: 0px;
line-height: inherit; color: rgb(51, 51, 51);
font-weight: inherit;" class="">
[E.Tutorial] Rückmeldung</h2>
</td>
</tr>
<tr class="">
<td id="replies-tickets-comments" style="font-weight:
normal; padding: 0px 15px;" class="">
<table style="width: 791px; background-color:
rgb(255, 255, 255); border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px; box-shadow:
rgba(0, 0, 0, 0.2) 0px 1px 5px; height: auto;
table-layout: fixed; border: none; vertical-align:
baseline; padding: 0px; margin: 0px;
background-position: initial initial;
background-repeat: initial initial;" class=""
border="0" cellpadding="0" cellspacing="0">
<tbody class="">
<tr class="">
<td style="font-weight: normal; padding: 15px
20px; border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: rgb(230, 230, 230);"
class="">
<table class="repeat-content" style="width:
751px; height: auto; table-layout: fixed;
text-align: left; border: none;
vertical-align: baseline; margin: 0px;
padding: 0px;" border="0" cellpadding="0"
cellspacing="0">
<thead class="">
<tr class="">
<th class="image-holder" width="60px"><img
moz-do-not-send="true"
src="https://ethz.teamwork.com/desk/images/avatars/animals/sheep.png"
style="border-top-left-radius:
50%; border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;"
class="" height="50" width="50"></th>
<th class="content-holder"
style="font-weight: normal;">
<p style="margin: 0px 0px 10px;
line-height: 1; font-size: 16px;
color: rgb(153, 153, 153);
font-weight: normal;" class="">
<strong style="color: rgb(51, 51,
51);" class="">Desk</strong><span
class="Apple-converted-space"> </span>applied
the trigger "C++"</p>
<div style="margin: 0px;
line-height: 1; font-size: 13px;
color: rgb(153, 153, 153);
font-weight: normal;" class="">
Status: feedback</div>
</th>
<th class="date-holder"
style="padding-top: 4px; text-align:
right; vertical-align: top;"
width="160">
<p style="margin: 0px; line-height:
1; font-size: 13px; color:
rgb(153, 153, 153); font-weight:
normal;" class="">
</p>
<br>
</th>
</tr>
</thead>
</table>
</td>
</tr>
<tr class="">
<td style="font-weight: normal; padding: 15px
20px; border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: rgb(230, 230, 230);"
class="">
<table class="repeat-content" style="width:
751px; height: auto; table-layout: fixed;
text-align: left; border: none;
vertical-align: baseline; margin: 0px;
padding: 0px;" border="0" cellpadding="0"
cellspacing="0">
<thead class="">
<tr class="">
<th class="image-holder" width="60px"><img
moz-do-not-send="true"
src="https://ethz.teamwork.com/desk/images/avatars/animals/sheep.png"
style="border-top-left-radius:
50%; border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;"
class="" height="50" width="50"></th>
<th class="content-holder"
style="font-weight: normal;">
<p style="margin: 0px 0px 10px;
line-height: 1; font-size: 16px;
color: rgb(153, 153, 153);
font-weight: normal;" class="">
<strong style="color: rgb(51, 51,
51);" class="">Desk</strong><span
class="Apple-converted-space"> </span>applied
the trigger "Feedback"</p>
<div style="margin: 0px;
line-height: 1; font-size: 13px;
color: rgb(153, 153, 153);
font-weight: normal;" class="">
Status: feedback</div>
</th>
<th class="date-holder"
style="padding-top: 4px; text-align:
right; vertical-align: top;"
width="160">
<p style="margin: 0px; line-height:
1; font-size: 13px; color:
rgb(153, 153, 153); font-weight:
normal;" class="">
</p>
<br>
</th>
</tr>
</thead>
</table>
</td>
</tr>
<tr class="">
<td style="font-weight: normal; padding: 15px
20px; border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: rgb(230, 230, 230);"
class="">
<table class="repeat-content" style="width:
751px; height: auto; table-layout: fixed;
text-align: left; border: none;
vertical-align: baseline; margin: 0px;
padding: 0px;" border="0" cellpadding="0"
cellspacing="0">
<thead class="">
<tr class="">
<th class="image-holder" width="60px"><img
moz-do-not-send="true"
src="https://ethz.teamwork.com/desk/images/avatars/animals/cat.png"
style="border-top-left-radius:
50%; border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;"
class="" height="50" width="50"></th>
<th class="content-holder"
style="font-weight: normal;">
<p style="margin: 0px 0px 10px;
line-height: 1; font-size: 16px;
color: rgb(153, 153, 153);
font-weight: normal;" class="">
<strong style="color: rgb(51, 51,
51);" class=""></strong>asked<span
class="Apple-converted-space"> </span></p>
<p style="margin: 0px; line-height:
1; font-size: 13px; color:
rgb(153, 153, 153); font-weight:
normal;" class="">
</p>
</th>
<th class="date-holder"
style="padding-top: 4px; text-align:
right; vertical-align: top;"
width="160">
<p style="margin: 0px; line-height:
1; font-size: 13px; color:
rgb(153, 153, 153); font-weight:
normal;" class="">
</p>
<br>
</th>
</tr>
</thead>
<tbody class="">
<tr class="">
<td style="font-weight: normal;"
class=""><br>
</td>
<td colspan="2" style="font-weight:
normal; font-size: 14px; color:
rgb(51, 51, 51); line-height: 1.5;
padding: 15px 0px 5px;" class="">
Absender: Tobja Franz<br class="">
Nachricht: Sehr guter Kurs für
wirkliche Anfänger<br class="">
Für das Zählprogramm der
Dezimalstellen finde ich folgende
Version noch etwas
simpler/verständlicher als die des
Tutorial.<br class="">
#include <iostream><br
class="">
int main()<br class="">
{<br class="">
int count = 0;<br class="">
int number;<br class="">
std::cout<<"Type
number"<<std::endl;<br
class="">
std::cin>>number;<br class="">
while (number>=1)<br class="">
{<br class="">
number/10<br class="">
count=count+1<br class="">
}<br class="">
std::cout<<count;<br class="">
return o<br class="">
}<br class="">
<br class="">
Additional Data:<br class="">
- Name : C++ Grundlagen 1<br
class="">
- Lang : de<br class="">
- Tool : CodeBoard<br class="">
- EtID : YEZzzXxdShXZS6JNb</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
</div>
<br class="">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
tutorialcpp mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tutorialcpp@lists.inf.ethz.ch">tutorialcpp@lists.inf.ethz.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.inf.ethz.ch/mailman/listinfo/tutorialcpp">https://lists.inf.ethz.ch/mailman/listinfo/tutorialcpp</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>