Answer:
Console.WriteLine("Format Double: {0:n3}", num); //formatting output with 3 digit decimal point
Explanation:
Following are the program in c#
using System; // namespace
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tasks
{
class Program
2 // program2
{
static void Main(string[] args) // Main function
{
double num = 958254.73789621; // variables
Console.WriteLine("Format Double: {0:n3}", num); //formatting output with 3 digit decimal point
Console.Read();
}
}
}
Output:
Format Double : 958254.737
Here we have declared a variable num of type double which store the value num=958254.73789621. To do format with the double number i used a syntax {0:n3}. This syntax {0:n3}is separated with :(colon) here 0 represent the value before the decimal point that is 958254 and n3 represent the value upto 3 decimal points. Hence this statement give the output with three digit after the decimal point .
Answer:
The program in Python is as follows:
qty = int(input("Quantity: "))
price = 100 * qty
if qty >1000:
price = (100 - 0.10 * 100) * qty
print("Cost: "+str(price))
Explanation:
This prompts the user for the quantity
qty = int(input("Quantity: "))
This calculates the price or cost, without discount
price = 100 * qty
This checks if the quantity is greater than 1000
if qty >1000:
If yes, this calculates the price or cost, after discount
price = (100 - 0.10 * 100) * qty
This prints the calculated cost
print("Cost: "+str(price))
Answer:
A clear outline of the consequences of violating the policy is the correct answer to this question.
Explanation:
AUPs are used by schools and universities, corporations, businesses, internet and hosting service providers, and website owners. An acceptable use of policy in AUP helps in many ways:
- Online platforms and applications require users to sign the policy before granting access to any information database, online shop, or other networks.
- An acceptable use policy helps in reducing risk when it comes to online safety, decreased productivity, and damage to both the company and the users.
- One of the main reasons why an acceptable use policy is important is to ensure the safety of users.
- Use of policy is also known as fair use policy.It is set of rules applied by the owner of the network or website.
If a client initiates the SMTP communication using an EHLO (Extended Hello) command instead of the HELO command some additional SMTP commands are often available. They are often referred to as Extended SMTP (ESMTP) commands or SMTP service extensions. Every server can have its own set of extended SMTP commands.
Answer:
Two profiles, one record type, two page layouts.
Explanation:
Record types and functions allow you to present forward different business processes, pick-list values, as well as page layouts to diverse range of users based on their profiles.
Going by the question, we can conclude that the minimum necessary configuration in order to meet the requirement in the question above are:Two profiles, one record type, two page layouts.