You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/part-8/1-recap.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Write a program that reads strings from the user until the user inputs the strin
69
69
<programming-exercisename='Average of positive numbers'tmcname='part08-Part08_02.AverageOfPositiveNumbers'>
70
70
71
71
<!-- Kirjoita ohjelma, joka lukee käyttäjältä kokonaislukuja kunnes käyttäjä syöttää luvun 0. Tämän jälkeen ohjelma tulostaa syötteessä esiintyneiden positiivisten (eli nollaa suurempien lukujen) keskiarvon. -->
72
-
Write a number that asks user for input until the user inputs 0.
72
+
Write a program that asks user for input until the user inputs 0.
73
73
After this, the program prints the average of the positive numbers (numbers that are greater than zero).
74
74
75
75
<!-- Mikäli ohjelmassa ei syötetä yhtäkään positiivista lukua, ohjelman tulee tulostaa "keskiarvon laskeminen ei ole mahdollista". -->
0 commit comments