100% Quality Private Proxies » TOP Anonymous + Buy Proxy Cheap Price!100% Quality Private Proxies » TOP Anonymous + Buy Proxy Cheap Price!100% Quality Private Proxies » TOP Anonymous + Buy Proxy Cheap Price!100% Quality Private Proxies » TOP Anonymous + Buy Proxy Cheap Price!
    0
  •   was successfully added to your cart.
  • Buy Proxies
  • Features
  • Info
  • Contacts
  • Blog
  • Account

For The Same Price! 2x MORE PROXIES $750 Private Proxies 5,000 2,500 Private Proxies 50 100 250 500 1,000 100 200 500 1,000 2,000 Private Proxies Private Proxies Private Proxies Private Proxies $30 $50 $100 $180 $340 BUY! BUY! BUY! BUY! BUY! BUY!

So this can be a fairly easy code, I believe it was?

It asks for the consumer’s start day and month, and provides it again with the day a reduction reminder e-mail might be despatched (the day earlier than their birthday)

Now I attempted to optimize as a lot as I may, attainable unsuitable inputs and if the consumer’s birthday is the primary of a month

Regardless that I am nonetheless fairly new to coding, I nonetheless need you to criticize my code as a lot as I may, I wish to enhance as a lot as I can

utilizing System.Textual content.RegularExpressions;
utilizing System.Linq;

namespace Exercice14
{
    class Program
    {
        static void Essential(string[] _)
        {
            // declaring some variables
            int birthDay;
            int reminderDay;
            string suffix = "th";
            string reminderSuffix = "th";
            string birthDayT;
            string birthMonth;
            string reminderMonth;
            string[] months = {"January", "February", "March", "April", "Might", "June", "July", "August", "September", 
                                 "October", "November", "December" };
            bool exceptionFirst = false;

            // prompts for start month and capitalize first letter
            Console.WriteLine("Hiya Consumer!");
            Console.Write("Please enter your start month in letters: ");
            birthMonth = Console.ReadLine();
            birthMonth = char.ToUpper(birthMonth[0]) + birthMonth.Substring(1);


            // examine if start month accommodates solely letters
            whereas(Regex.IsMatch(birthMonth, @"^[a-zA-Z]+$") == false)
            {
                Console.WriteLine("Beginning month ought to solely include letters!");
                Console.Write("Please enter your start month in letters: ");
                birthMonth = Console.ReadLine();
                birthMonth = char.ToUpper(birthMonth[0]) + birthMonth.Substring(1);
            }

            // examine if month is correct
            whereas (months.Comprises(birthMonth) == false)
            {
                Console.WriteLine("Invalid month?! Please enter a legitimate english month");
                Console.Write("Please enter your start month: ");
                birthMonth = Console.ReadLine();
                birthMonth = char.ToUpper(birthMonth[0]) + birthMonth.Substring(1);
            }

            // prompts for start day
            Console.Write("Please enter your start day in numbers: ");
            birthDayT = Console.ReadLine();

            // examine for legitimate day 
            whereas (int.TryParse(birthDayT, out int _) == false)
            {
                Console.WriteLine("Invalid argument! Please enter day in numerals");
                Console.Write("Please enter your start day in numbers: ");
                birthDayT = Console.ReadLine();
            }

            // examine for legitimate day quantity
            whereas (int.Parse(birthDayT) < 1 || int.Parse(birthDayT) > 31)
            {
                Console.WriteLine("Invalid date! Please enter a day between 1 and 31");
                Console.Write("Please enter start day in numbers: ");
                birthDayT = Console.ReadLine();
            }

            // assign start day to variable as soon as examined
            birthDay = int.Parse(birthDayT);

            // set reminder day and month
            reminderDay = birthDay - 1;
            reminderMonth = birthMonth;

            // examine which suffix to make use of for days AND calculate reminder day and month if exception
            if (birthDay == 1) //exception
            {
                exceptionFirst = true;
                suffix = "st";
                reminderMonth = months[Array.IndexOf(months, birthMonth) - 1];
            }
            if (birthDay == 2)
            {
                suffix = "nd";
                reminderSuffix = "st";
                reminderDay = 1;
            }
            if (birthDay == 3)
            {
                suffix = "th";
                reminderSuffix = "nd";
            }
            if (birthDay > 3)
            {
                suffix = "th";
                reminderSuffix = "th";
            }

            // print values
            Console.WriteLine();
            Console.WriteLine("Yer birthday is on the " + birthDay + suffix + " of " + birthMonth );

            if (exceptionFirst == true)
            {
                Console.WriteLine("A reminder e-mail on your birthday low cost " +
                    "nwill be despatched on the final day of " + reminderMonth);
            }
            else
            {
                Console.WriteLine("A reminder e-mail on your birthday low cost " +
                    "nwill be despatched on the " + reminderDay + reminderSuffix + " of " + reminderMonth);
            }

        }
    }
}

Best Quality Private Proxies by Proxyti:

fully anonymous

100% anonymous and safe reliable private proxies

1,000 mb/s speed

Blazing fast proxy servers with up to 1,000 mb/s speed

Elite quality

Best quality proxies from world and USA locations

Unlimited bandwidth

No limits of using your proxies - truly unlimited bandwidth

Buy Now - Get 2X More Proxies:

100 Private Proxies

$30/month

$0.3 Per Proxy
Private and Anonymous
Ultra Fast Speed
Unlimited Bandwidth
USA or Worldwide
2X More Proxies!
Buy now!

200 Private Proxies

$50/month

$0.25 Per Proxy
Private and Anonymous
Ultra Fast Speed
Unlimited Bandwidth
USA or Worldwide
2X More Proxies!
Buy now!

500 Private Proxies

$100/month

$0.2 Per Proxy
Private and Anonymous
Ultra Fast Speed
Unlimited Bandwidth
USA or Worldwide
2X More Proxies!
Buy now!

1,000 Private Proxies

$180/month

$0.18 Per Proxy
Private and Anonymous
Ultra Fast Speed
Unlimited Bandwidth
USA or Worldwide
2X More Proxies!
Buy now!

2,000 Private Proxies

$340/month

$0.17 Per Proxy
Private and Anonymous
Ultra Fast Speed
Unlimited Bandwidth
USA or Worldwide
2X More Proxies!
Buy now!

5,000 Private Proxies

$750/month

$0.15 Per Proxy
Private and Anonymous
Ultra Fast Speed
Unlimited Bandwidth
USA or Worldwide
2X More Proxies!
Buy now!

Our Unbeatable Proxy Features:

Anonymous Proxies

100% security with our proxies – anonymous and secure proxy experience

Ultra Fast Speed

Proxyti offers up to 1,000 mb/s ultra fast proxy speed – feel the real power!

Unlimited Bandwidth

No data limits for your proxies – truly unlimited proxy bandwidth for you!

Proxy Authentication

We secure proxies with IP authentication – use your proxies with your own IP

Elite Quality

Highest proxy quality guarantee with supported HTTP/HTTPS and SOCKS connections

Great Prices

Proxyti offers great proxies for great prices – this is what we call new proxy era!

USA Locations

You can choose USA or random proxies locations when ordering for free

No Limitations

We don’t have any limits – you can use your proxies with every software or program!

Lots Of Subnets

The more proxies you buy, the more subnets you get – it is worth ordering more!

Semi Dedicated

Our proxies are shared with maximum of 5 users at a time, but they are still anonymous

Fast Delivery

We deliver your ordered proxies in your email in .txt file – this is simple as that

Awesome Support

Have any questions or want more information – please contact us anytime!


About Proxyti

We deliver quality private proxy solutions for everyone – fast, anonymous, secure and unlimited proxies by Proxyti.
 

Secure Payments

All payments are made via Paypal – safe and secure payment system administrator

Top rated products

  • 200 Private Proxies
    Rated 4.83 out of 5
    $50.00 / month
  • 1000 Private Proxies
    Rated 4.82 out of 5
    $180.00 / month

Connect with us

Copyright Proxyti.com | All Rights Reserved
  • Buy Proxies
  • Features
  • Info
  • Contacts
  • Blog
  • Account
100% Quality Private Proxies » TOP Anonymous + Buy Proxy Cheap Price!
    0 items