Posts by Ryan • 61 points
4 posts
-
0
votes2
answers371
viewsA: What’s the difference between initializing a variable in these constructs? And how do you set a constructor to default?
The constructor can assign values to its members in two ways: You can accept values as parameters and assign them to variables within the function body constructor, as shown in the following…
-
2
votes6
answers2425
views -
3
votes2
answers107
viewsQ: Using do/while in Javascript to request 10 numbers from the user
My teacher passed an exercise with the following description: Make a Javascript program that asks for 10 integers and displays how many numbers are greater than 50 - use loop do while. I couldn’t…
-
0
votes2
answers2039
viewsA: List Services via CMD
I know this question is very old, but you can also use the following command: wmic service get displayname,name,state | findstr "nome_serviço" Or even: sc queryex type=service state=all | find /i…