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
<span>A _superkey___ is any key that uniquely identifies each row.</span>
Answer:
applications
Explanation:
In an information system, applications or software are indispensable. This is because the entire data/info processing pipeline running on daily basis have been digitized. Users are heavily rely on the applications to gain and store new data, to manage and process the data and to deliver the necessary output. The applications enable the entire data processing work become more efficient, systematic and also more secure.
Answer:
B. Which customer most frequently purchases bread.
Explanation:
As per the scenario, the data we are receiving from the sales record of the bakery is :
The date on which the items are sold
Each items name which are sold
The number of each item sold and
The price of each item sold
These data are required to estimate how much the company has earned the profit during a given period of time.
So from the above scenario, there is no data given about the customer i.e customer name, customer number, etc. So there is no chance to track the details of a customer purchase history.
Therefore, the most appropriate answer is option B