Answer:
void countUp(int num)
{
if(num==0) //base case.
return;
countUp(num-1);//Recursive call.
cout<<num<<" "; //printing the number.
}
for input num=25
Output:-1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Explanation:
I have used recursion to print the numbers the function is in c++ language.In every recursive call we are decreasing num by 1.As the base case is reached.Then it will backtrack from 1 to num and then we are printing while backtracking.
WAECUP stands for waste, accident, error, crime, and unethical practices.
Assuming that the components are the same as what's included in the acronym, that should be your answer.
Hope this helps!
Answer: Distributing malicious flash drives in a parking lot or other high-traffic area, often with a label that will tempt the person who finds it into plugging it in, is a technique used by penetration testers.
Explanation:
Breach..
bugs and viruses
hack
Answer:
Explanation:
#Using python to create the list
#first we create an empty list to store our numbers.
import math
data = []
x = 0
InputSum = 0
NumInput=int(input("how many number do you want to add"))
while x <=(NumInput):
Input=int(input("Enter the numbers here"))
data.append(Input)
x = x+1
InputSum = InputSum + Input #this is to add the numbers entered
print("The number you entered are ")
print(*data) #this print the numbers entered
print("The sum of the numbers is", InputSum)