Answer:
The answer is "Option A".
Explanation:
- In the given C++ Language program on line 8 compile-time error will occur, because in the code the conditional statement is used. In if block, we check two conditions together, which is the number variable value is greater than equal to 0 and check less than equal to 100.
- In this condition statement, a AND operator is used that execute when both condition is true, but in the last condition, we do not define a variable name that, checks value. That's why the program will give an error on line 8.
Answer:
"A set is an unordered collection. A dictionary is an unordered collection of data that stores data in key-value pairs."
Explanation:
Set =>
Collection of non-repetitive elements.
Unordered
Unindexed
No way to change items.
Dictionary =>
Collection of key-value pairs.
Unordered
Indexed
Mutable
Yes because the main story is 1+1 so it would be
Answer:
Below is the required code:
Explanation:
Python Code
import os
import bin
dir = input("Please specify the location to the directory")
list = os.walk(dir)
a = length(list[1])
b = length(list[2])
print "Files: %n , Sub-dirs : %n" % (b,a)
decision = _(" Do you want to continue? (y/n) "))
if(decision):
cls
else :
exit()
Answer:
48 is the answer
Explanation:
16×3 is the explanation for your question