0

Can anyone solve Downloader problem in Golang course

10th May 2021, 10:49 AM
Bilal Sikander
Bilal Sikander - avatar
2 Réponses
+ 4
//define the download() function func download(s int, c chan int) { sum := 0 for i:=0; i<=s; i++ { sum += i } c<-sum } //output the sum of all results v:=<-ch1 + <-ch2 + <-ch3
29th May 2021, 8:31 AM
Somon Abdullozoda
Somon Abdullozoda - avatar
+ 1
Yes, and you can do the same, just by reading the lessons one more time.......
10th May 2021, 12:43 PM
Jan
Jan - avatar