Posts by richardaum • 166 points
2 posts
-
1
votes3
answers6535
viewsA: Sequence reading of space-separated numbers
You can use the scanf(), for with it it is possible to distinguish the numbers between themselves. To solve your problem, one possible way is read a number at a time and at each reading, dynamically…
canswered richardaum 166 -
4
votes1
answer20452
viewsA: Cannot read Property 'length' of Undefined
You must initialize a variable within the scope in which it is used: $scope.custos = [];