Answer:
using System;
class CheckDigit
{
public static void Main (string[] args)
{ //Accepting value from user
Console.WriteLine ("Enter a four-digit account number");
int acc = Convert.ToInt32(Console.ReadLine());
int d=acc%10; //extracting the last digit
acc=acc/10; //having the first three digit
if(acc % 7 == d) //checking and displaying
Console.WriteLine ("Valid Account Number");
else
Console.WriteLine ("Invalid Account Number");
}
}
Explanation:
The answer is c , Processes the data on the computer .
Answer:
real-time analytics
Explanation:
Real time analytics is a type of data analysis that is done immediately the data for analysis is available. This can allow users to draw conclusion or acquire new insights swiftly and immediately the data enters their system. Businesses use real time analytics when there is a need to make and execute new decisions without hesitation.
A business that wants to centralize its administrative tasks and simultaneously wants the existing system to manage and sustain the growing amount of work in a capable manner would use real-time analytics.
Answer:
Answer explained below
Explanation:
This problem can be represented on a graph by considering each state (or configuration) of the pair of containers as a vertex of the graph. We will be having 24 vertices, since the first container can have 0, 1, 2 or 3 gallons and the second can have 0, 1, 2, 3, 4 or 5 gallons of water. So, we will be having vertices like (0, 0), (0, 1), (0,5), (1, 0), (2, 3), (5, 5) etc.
The edges will be directed, and a vertex will be having an edge to it from another vertex if the configuration of the later vertex can be reached from the former vertex by any one of the legal moves. For example, from (2, 3) we can get (0, 5) by transferring the contents of the first container to the second. So there will be an edge from (2, 3) to (0, 5).
Answer:
Explanation:
The following code is written in Python and creates a function called create_sentence which takes in 2 parameters which are the number of spaces and the number of stars. Then it uses these values to create the sentence and return it.
def create_sentence(spaces, stars):
sentence = ""
for x in range(spaces):
sentence += " "
for x in range(stars):
sentence += "★"
sentence += "\n"
return sentence