Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication1
- {
- class Program
- {
- static void Main(string[] args)
- {
- double payment;
- int TimeMin, TimeTofes, doc, TimeH;
- Console.WriteLine("Please enter the ammount of documents the worker has to fill:");
- doc = int.Parse(Console.ReadLine());
- TimeTofes = 10;
- TimeH = doc * TimeTofes;
- payment = doc * 6.8;
- TimeMin = TimeH % 60;
- TimeH = TimeH / 60;
- Console.WriteLine("The worker will be working " + TimeH + " hours & " + TimeMin + " minutes, will recieve a total payment of " + payment + " nis");
- Console.ReadKey();
- }
- }
- }
Add Comment
Please, Sign In to add comment