Find You Pc

 //HERES SOME TIPS BEFORE COPY AND PASTE:

//Press cntrl and A to copy everything
//Check Brackeys c# 1st tutorial and download visual studio code for this
//to work.Or else,you will have to change the code at NameSpace
//Give credit in case of video(GostGK)
//HERES THE CODE:
//--------------------------------------------

using System;



namespace My_Awesome_Program

{

    class Program

    {

        static void Main(string[] args)

        {  

        int PcParts1 = 0;
        
        Console.WriteLine("Welcome to Pc Builder!");
        Console.WriteLine("Please write how much will your pc cost: ");
        int UserBudget = Convert.ToInt32(Console.ReadLine());

        if (UserBudget <= 250)
        {
            PcParts1 = PcParts1 + 1;
        }
        else if (UserBudget <= 350 && UserBudget > 250)
        {
            PcParts1 = PcParts1 + 2;
        }
        else if (UserBudget <= 750 && UserBudget > 350)
        {
            PcParts1 = PcParts1 + 3;
        }

        Console.WriteLine("What kind of Pc Would You Prefer to get?");
        Console.WriteLine("1=Gaming 2=Normal");
        int UserPcKindSelect = Convert.ToInt32(Console.ReadLine());

        if (UserPcKindSelect == 1)
        {
            PcParts1 = PcParts1 + 30;
        }
        else if (UserPcKindSelect == 2)
        {
            PcParts1 = PcParts1 + 40;
        }

        if (PcParts1 == 41 || PcParts1 == 31)
        {
            Console.WriteLine("These is your pc type: Normal");
            Console.WriteLine("This Pc costs arround 250$");
            Console.WriteLine("These are your parts you will need: ");
            Console.WriteLine("Athlon 3000G");
            Console.WriteLine("Asrock 320M HDV R4.0");
            Console.WriteLine("Patriot Viper 2x4GB 3000Mhz or 3200Mhz");
            Console.WriteLine("PSU Cooler Master Elite 400W");
            Console.WriteLine("Case Innobator J3 (or already used)");
            Console.WriteLine("Disc SSD PNY 120Gb or 240GB");

        }
        else if (PcParts1 == 32)
        {
            Console.WriteLine("These is your pc type: Gaming");
            Console.WriteLine("This Pc costs arround 350$");
            Console.WriteLine("These are your parts you will need: ");
            Console.WriteLine("Ryzen 3 2200G");
            Console.WriteLine("Asrock B450M PRO4");
            Console.WriteLine("MASTERWATT LITE 500W");
            Console.WriteLine("COUGAR MX330-G ");
            Console.WriteLine("CRUCIAL MX500GB");
        }
        else if (PcParts1 == 33)
        {
            Console.WriteLine("These is your pc type: Gaming(Ultra)");
            Console.WriteLine("This Pc costs arround 750$");
            Console.WriteLine("These are your parts you will need: ");
            Console.WriteLine("AMD ​Ryzen 5 2600 Box");
            Console.WriteLine("MSI B450M Pro-VDH Max");
            Console.WriteLine("G.Skill RipjawsV 16GB DDR4-3200MHz (F4-3200C16D-16GVKB)");
            Console.WriteLine("Samsung 860 Evo 250GB");
            Console.WriteLine("Western Digital Blue 1TB (7200rpm)");
            Console.WriteLine("Viewsonic VX2458-C-mhd 23.6 Curved Gaming Monitor");
            Console.WriteLine("CoolerMaster MasterWatt Lite 600W");
            Console.WriteLine("CoolerMaster MasterBox MB520 Red");
            Console.WriteLine("Gigabyte GeForce GTX 1660 6GB OC");
        }
        else
        {
            Console.WriteLine("Sorry,but we couldn't find the pc you were looking for.");
        }
        
        Console.ReadKey();

        }

    }

}

 

Σχόλια

Δημοφιλείς αναρτήσεις από αυτό το ιστολόγιο

Among Us Emergency Meeting(not finished yet)

QuizMaker

Math Problems!