Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp17
- {
- class Program
- {
- static void Main(string[] args)
- {
- int Height, Age;
- string JobAccepted;
- string JobDenied;
- JobAccepted = ("You Got Accepted to the Job!");
- JobDenied = ("You Have Been Declined!");
- Console.WriteLine("\nWelcome to the Job Application Reviewer!");
- Age = int.Parse(Console.ReadLine());
- Console.WriteLine("\nWhat is your Height?");
- Height = int.Parse(Console.ReadLine());
- if ((Age >= 20 && 40 >= Age) || (Age >= 50 && 80 >= Age && Height >= 180))
- {
- Console.WriteLine(JobAccepted);
- }
- else
- {
- Console.WriteLine(JobDenied);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement