Answer:
The answer to the give question as follows:
1) \n
2) \t
3) \'
4) \"
5) \\
Explanation:
The description of the above symbols as follows:
- The \n is used to provide the new line spacing.
- The \t is used to provide a tab space.
- To assign a single character value we use \' single.
- The double \" quote is used to assign a string value.
- The backslash is used to provide the character of the escape and it also used in a file path.
The scripter as he made the script.
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:
There are two ways to find the average of a list of numbers in Python. You can divide the sum() by the len() of a list of numbers to find the average. Or, you can find the average of a list using the Python mean() function
Explanation:
Answer:
√ 1. Cellphone
<h3>Product Description:</h3>
A cellphone is any portable telephone that uses cellular network technology to make and receive calls.