Answer:
a. backdoor
backdoor (also called a trapdoor) is a programming routine built into a system by its designer or programmer. It enables the designer or programmer to bypass system security and sneak back into the system later to access programs or files.
Answer:
Algorithm:
1. Declare an integer variable N.
2. Read the value N from user.
3.While(N):
3.1 find r=N%10;
3.2 print r in new line.
3.3 Update N as N=N/10.
4.end program.
Implementation in C++.
// header
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variable
int N;
cout<<"Enter an Integer:";
cin>>N;
// find the digits of number
while(N)
{
// last digit
int r=N%10;
// print last digit
cout<<r<<endl;
// update the number
N=N/10;
}
return 0;
}
Output:
Enter an Integer:329
9
2
3
Answer:
#include<iostream>
int main()
{
int count=0;
int so_phan_tu;
std::cout << "nhap so phan tu : \n";
std::cin >> so_phan_tu;
int* A = new int[so_phan_tu];
std::cout << "nhap cac phan tu : \n";
for (int i = 0; i < so_phan_tu; i++)
{
std::cin >> A[i];
if (A[i] % 5 == 0)
{
count++;
}
}
std::cout << so_phan_tu - count;
system("pause");
return 0;
}
//cái này viết bằng C++ em nhé
Explanation: