Answer:
a = 6, b = 0
Explanation:
The loop ran 3 times before b == 0. "while ((b != 0)" is essentially saying: 'While b is not equal to 0, do what's in my loop'. Same general thing with "&& ((a / b) >= 0)". The "&&" is specifying that there should be another loop condition, while the rest states: 'as long as a ÷ b is greater than 0, do what's in my loop'. If both of these conditions are met, the loop will run, It will continue this until the conditions are not met. Hope that helped! :)
It depends on what you're researching for.
Answer:
<u>720</u> possible PIN can be generated.
Explanation:
To calculate different number of orders of digits to create password and PIN, we calculate permutation.
Permutation is a term that means the number of methods or ways in which different numbers, alphabets, characters and objects can arranged or organized. To calculate the permutation following formula will be used:
nPr = n!/(n-r)!
there P is permutation, n is number of digits that need to be organize, r is the size of subset (Number of digits a password contains)
So in question we need to calculate
P=?
where
n= 10 (0-9 means total 10 digits)
r= 3 (PIN Consist of three digits)
So by using formula
10P3 = 10!/(10-3)!
=10!/7!
= 10x9x8x7!/7!
= 10x9x8
= 720
Answer:
LAN
Explanation:
i am not sure but I think it is lan