Notes or screens? I think
Answer:
24:36 if you want it in the smallest form it is 2:3
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:
Answer:
True.
Explanation:
When determining the order of magnitude of an algorithm using the Big-Oh algorithm analysis.The instruction which evaluates to O(c) is equal to one that is O(1) because it is considered as constant time and to represent constant we use O(1) in big-Oh notation.
Hence the answer to this question is True.