CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 19:38:12 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=37d6c10875b25465d897c029b3805a2ec9bd54700bfb88121a4e1ba7d1b1abb0a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%226W_ZOXo6vxsJaJDP-iyMVd2ZARl9kOd9%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d0d0ffaef58839-BLR
Wage Salary - Pastebin.com
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 ConsoleApp19
- {
- CLASS Program
- {
- static void Main(STRING[] args)
- {
- Doctor d1 = NEW Doctor(1, "Hector", 50000);
- d1.View();
- d1.IncreaseSalary(50);
- d1.View();
- d1.IncreaseSalary(100);
- d1.View();
- d1.IncreaseSalary(200);
- d1.View();
- d1.DecreaseSalary(50);
- d1.View();
- }
- }
- CLASS Doctor
- {
- public INT Id;
- public STRING NAME;
- public double Salary;
- public Doctor(INT id, STRING NAME, double salary)
- {
- Id = id;
- NAME = NAME;
- Salary = salary;
- }
- public Doctor()
- {
- Id = 2018;
- NAME = "Mitsos";
- }
- public Doctor(INT a, INT b ,INT c, STRING d)
- {
- Id = a + b + c;
- NAME = d;
- }
- public void VIEW()
- {
- Console.ForegroundColor = ConsoleColor.Blue;
- Console.WriteLine("Id = " + Id);
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("Name = " + NAME);
- Console.ForegroundColor = ConsoleColor.Red;
- Console.WriteLine("Salary = " + Salary);
- Console.ForegroundColor = ConsoleColor.White;
- Console.WriteLine("==============================");
- Console.WriteLine();
- }
- public void IncreaseSalary(double percentage) //
- {
- Salary = Salary + Salary * percentage / 100;
- }
- public void DecreaseSalary(double percentage) //
- {
- Salary = Salary - Salary * percentage / 100;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
-
π EASY MONEY GUIDE β
Working
JavaScript | 6 sec ago | 0.24 KB
-
π Swapzone +37% glitch β O
JavaScript | 7 sec ago | 0.25 KB
-
Free Crypto Method (NEVER SEEN BEFORE)ββ G
JavaScript | 11 sec ago | 0.25 KB
-
β
β Make huge profits on trading ββ 5
JavaScript | 18 sec ago | 0.25 KB
-
π ChangeNOW Exploit
JavaScript | 21 sec ago | 0.24 KB
-
ββ
Marketplace Glitch β
Working β
NEVER SEEN...
JavaScript | 27 sec ago | 0.25 KB
-
π΅ Make 3000$ in 20 minutes π΅
JavaScript | 33 sec ago | 0.24 KB
-
ββ
Exploit 2500$ in 15 Minutesβββ 7
JavaScript | 36 sec ago | 0.25 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand