If you can see the DTE/DCE cable, you can tell by looking which router has the DCE interface connected to it - the letters "DTE" or "DCE" will either be molded into the connector itself, or if it's an older cable there should be a little piece of tape on the cable that tells you what the interface type is.
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 ms-dos
Side note:
GUI means graphical user interface. In other words, that means it looks pretty and has cool buttons, animations and cute stuff. MS-DOS is just a black screen with words on it. Definitely not cute or cool.