Esempio n. 1
0
        public static void afficher(Bulletin unBulletin)
        {
            string salaireBase = Convert.ToString(unBulletin.salaireBase());
            string nbHeureSup = Convert.ToString(unBulletin.nbHS());
            string montantHs = Convert.ToString(unBulletin.MontantHS());
            string salaireBrut = Convert.ToString(unBulletin.salaireBrut());
            string retenueSS = Convert.ToString(unBulletin.retenueSS());
            string retenueChomage = Convert.ToString(unBulletin.retenueChomage());
            string retenueRetraite = Convert.ToString(unBulletin.retenueRetraite());
            string retenuesTotales = Convert.ToString(unBulletin.retenueTotales());
            string salaireNet = Convert.ToString(unBulletin.salaireNet());
            string retenueCSG = Convert.ToString(unBulletin.retenueCSG());
            string essai = Convert.ToString(unBulletin.essai());

            Console.WriteLine("salaire de base: " + salaireBase);
            Console.WriteLine("nombre HS:" + nbHeureSup);
            Console.WriteLine("montant HS:" + montantHs);
            Console.WriteLine("salaire brut:" + salaireBrut);
            Console.WriteLine("retenue securite sociale:" + retenueSS);
            Console.WriteLine("retenue chomage: " + retenueChomage);
            Console.WriteLine("retenue Csg :" + retenueCSG);
            Console.WriteLine("retenue retraite :" + retenueRetraite);
            Console.WriteLine("retenues Totales:" + retenuesTotales);
            Console.WriteLine("salaire net :" + salaireNet);
        }
Esempio n. 2
0
 public static void afficherBulletins(Bulletin b)
 {
     Console.WriteLine("*************************************************");
     Console.WriteLine("Numero du mois :" + Convert.ToInt16(b.getMois()));
     Console.WriteLine("Salaire de base:" + (Convert.ToString(b.salaireBase())));
     Console.WriteLine("NbHS :" + (Convert.ToString(b.nbHS())));
     Console.WriteLine("MontanHS :" + (Convert.ToString(b.montantHS())));
     Console.WriteLine("SalaireBrut :" + (Convert.ToString(b.salaireBrut())));
     Console.WriteLine("RetenueSS :" + (Convert.ToString(b.retenueSS())));
     Console.WriteLine("RetenueChomage :" + (Convert.ToString(b.retenueChomage())));
     Console.WriteLine("RetenueCSG :" + (Convert.ToString(b.retenueCsg())));
     Console.WriteLine("Retenueretraite:" + (Convert.ToString(b.retenueRetraite())));
     Console.WriteLine("RetenuesTotal :" + (Convert.ToString(b.retenueTotales())));
     Console.WriteLine("SalaireNet :" + (Convert.ToString(b.salaireNet())));
 }