In this article you can learn about Factorial Numbers. So first of all let us understand what a Factorial Number is. Then I will describe Factorial Numbers in programming terms.
Factorial Number
A number is a Factorial Number that is the product of a given positive integer multiplied by all lesser positive integers. The Symbol of Factorial is "!".
Example: Number 5!=5*4*3*2*1
Use the following procedure to create the Factorial app.
Step 1
First of all you have to create a New Windows Store Application.
- Open Visual Studio 2012
- "File" -> "New" -> "Project..."
- Choose "Template" -> "Visual C#" -> "Window Store app"
- "Blank App (XAML)" then rename the application

Step 2
Write the following XAML code in "Mainpage.Xaml" (that is available in Solution Explorer):
<Page
x:Class="Factorial_app.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Factorial_app"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="Blue">
<Grid.RowDefinitions>
<RowDefinition Height="38*"/>
<RowDefinition Height="23*"/>
<RowDefinition Height="31*"/>
<RowDefinition Height="32*"/>
<RowDefinition Height="37*"/>
<RowDefinition Height="607*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="282*"/>
<ColumnDefinition Width="62*"/>
<ColumnDefinition Width="339*"/>
</Grid.ColumnDefinitions>
<TextBlock Text="Get The Factorial Of Number" FontFamily="Arial" FontSize="15" FontWeight="ExtraBold" Foreground="Red" Grid.ColumnSpan="3" Grid.Row="1" TextAlignment="Center" ></TextBlock>
<TextBlock Text="Enter Number:" FontFamily="Arial" FontSize="15" FontWeight="ExtraBold" Foreground="Red" Grid.Column="1" Grid.Row="2"></TextBlock>


Join the conversation! Your thoughts help the community grow.