Jump to content

DanStan

Member
  • Posts

    8
  • Joined

  • Last visited

Awards

This user doesn't have any awards

System

  • CPU
    I7 6700 non k
  • Motherboard
    gigabyte z170 gaming 3
  • RAM
    corsair vengeance lpx 3000
  • GPU
    FE gtx 1080 sli
  • Case
    evolv atx tempered glass
  • Storage
    256&128 m.2
  • PSU
    750 bronze p.o.s
  • Display(s)
    predator z35& 42' tv
  • Keyboard
    razer blackwidow chroma
  • Mouse
    razer mamba chroma
  • Operating System
    windows 10

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DanStan's Achievements

  1. Late reply, sorry But might help someone at some point It was the PSU!
  2. My PC will not boot when I press the pwr button, but when it is on it will shut down ?...so pwr button works... To turn it on I have to cycle the PSU switch 2 or 3 times. It was all right till two days ago,I did a bios/driver updated and still the same One more weird thing would be that my RGB keyboard stays on when I shut down. any ideas?
  3. Doing cable management(never completely happy with it) ,finishing a "silent" build and then getting coil whine.
  4. I have an assignment at school where I need to show the similarity and difference of this 2(without actually getting a lecture on it).I could do with a hand as from what I have been researching so far it looks like its the same thing?!?! Can anybody give a noob an explanation?
  5. i'll ask about one more thing how can i get it to show Ans as no1 / no2 insted of 0 if no2=0 when i divide?
  6. i have done that and it work,it looks like this now Double no1 = 0, no2 = 0, Ans = 0; String Choice; Console.WriteLine("Wellcome to 'my' calculator...it definitely did not take me 2 hours of tutorials to figuer this out"); Console.WriteLine("Press <F1> then Enter to get started...Simon says!"); while (Console.ReadKey().Key != ConsoleKey.F1) { } Console.ReadKey(); Console.Write("Please enter No1: "); no1 = Convert.ToDouble(Console.ReadLine()); Console.WriteLine("Please chose operation:(+,-,* or /)"); Choice = Console.ReadLine(); Console.Write("Please enter No2: "); no2 = Convert.ToDouble(Console.ReadLine()); // comment here :) if (Choice == "+") { Ans = no1 + no2; } if (Choice == "-") { Ans = no1 - no2; } if (Choice == "*") { Ans = no1 * no2; } if (Choice == "/") { if (no2 == 0) { Console.WriteLine("Ans= ERR"); } else { Ans = no1 / no2; } Console.WriteLine("the operation has been apllied"); } Console.WriteLine("The Anwser is {0} = " ,Ans); Console.WriteLine("Press any key to exit..."); Console.ReadKey(); Thanks
  7. hi everyone I am doing a course on c#...started one week ago with absolutely no prior exp in this,getting frustrated with this calculator. Can anyone tell me what is wrong and why,i don't want a quick fix,i want to learn(you get no cookie for bashing me on making a "simple" mistake) Double no1 = 0, no2 = 0, Ans = 0; String Choice; Console.WriteLine("Wellcome to 'my' calculator...it definitely did not take me 2 hours of tutorials to figuer this out"); Console.WriteLine("Press <F1> then Enter to get started...Simon says!"); while (Console.ReadKey().Key != ConsoleKey.F1) { } Console.ReadKey(); Console.Write("Please enter No1: "); no1 = Convert.ToDouble(Console.ReadLine()); Console.WriteLine("Please chose operation:(+,-,* or /)"); Choice = Console.ReadLine(); Console.Write("Please enter No2: "); no2 = Convert.ToDouble(Console.ReadLine()); // comment here if (Choice == "+") { Ans = no1 + no2; } if (Choice == "-") { Ans = no1 - no2; } if (Choice == "*") { Ans = no1 * no2; } if (Choice == "/") { if (no2 == 0) { Console.WriteLine("Ans= ERR"); } else { Ans = no1 / no2; } Console.WriteLine("the operation has been apllied"); Console.Write("The Anwser is = " ,Ans); Console.WriteLine("Press any key to exit..."); Console.ReadKey(); Not sure if it matters but i am using ms visual studio 2015 thanks if anyone will actually help!
×