add Programmyday form github
This commit is contained in:
18
E-Book/Texte.cs
Normal file
18
E-Book/Texte.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace E_Book
|
||||
{
|
||||
internal class Texte : MediaAssets
|
||||
{
|
||||
private decimal charCount;
|
||||
public Texte(decimal charCount)
|
||||
{
|
||||
this.charCount = charCount;
|
||||
this.pageCount = Math.Ceiling(charCount / 2000);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user