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-2/2-repeating.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -874,11 +874,7 @@ Average of the numbers: 8.5
874
874
<programming-exercisename='Average of positive numbers'tmcname='part02-Part02_13.AverageOfPositiveNumbers'>
875
875
876
876
<!-- 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. -->
877
-
<<<<<<< HEAD
878
-
Write a program that asks user for input until the user inputs 0.
879
-
=======
880
877
Write a program that asks the user for input until the user inputs 0.
881
-
>>>>>>> 5c9b3d9f3aed8375db3cfd2c12a069afdfd3b053
882
878
After this, the program prints the average of the positive numbers (numbers that are greater than zero).
883
879
884
880
<!-- Mikäli ohjelmassa ei syötetä yhtäkään positiivista lukua, ohjelman tulee tulostaa "keskiarvon laskeminen ei ole mahdollista". -->
0 commit comments