Answer:
The factorial of 3=6
Explanation:
Following are the description of the given question
- This is JavaScript code .Here items are the variable that are holding the integer value "3".
- After that there is 2 loop are iterating one is outer and one inner loop.
- When i=1 1<=3 the condition of outer loop is true the control moves the inner loop .
- In the inner loop there is variable result that is initialized by 1 Now checking the condition of inner loop j=i i.e j=1 1>=1 condition of inner loop is true it executed the statement inside the inner loop so result =1 .Now we increment the value of i of the outer loop.
- i=2 2<=3 the condition of outer loop is true the control moves the inner loop .
- In the inner loop there is variable result that is initialized by 1 Now checking the condition of inner loop j=i i.e j=2 2>=1 condition of inner loop is true it executed the statement inside the inner loop so result =2 .Now we increment the value of i of the outer loop.
- Now i=3 3<=3 the condition of outer loop is true the control moves the inner loop .
- In the inner loop there is variable result that is initialized by 1 Now checking the condition of inner loop j=i i.e j=3 3>=1 condition of inner loop is true it executed the statement inside the inner loop so result =6 .Now we increment the value of i of the outer loop.
- i=4 4<=3 the condition of outer loop is false the control moves from the outer loop.
- It print The factorial of 3=6
Answer: open-source software
Explanation:
this type of softwares code is built so that the code is open and available to anyone. it is completely free.
The answer & explanation for this question is given in the attachment below.
Either options C or D
You can change the chart type of the whole chart or for single data series in most 2-D charts to give the chart a different look. In 3D or bubble charts, you can only change the chart type of the whole chart. By following the steps in the answers above, you will be in a position to select available chart type like column chart or line chart.
Def countUppercase(s):
count=0
for i in s:
if i.isupper():
count+=1
s=s.replace(i, "")
else:
s=s.replace(i, "")
countUppercase(s)
return count
element=input("Enter the string: ")
string=countUppercase(element)
print("\nNumber of upper letter in the string: ",string)