Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Shadowsenses

Member
  • Content Count

    29
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About Shadowsenses

  • Title
    Member

Contact Methods

  • Discord
    Shadowsenses#7570
  • Steam
    Shadowsenses

Profile Information

  • Gender
    Male
  • Location
    Github
  • Interests
    iOS Development, Functional Programming, Unity Development, Binge Watching Linus Tech Tips, Gaming, Writing Music and Chilling
  • Occupation
    Software Engineering Student

System

  • CPU
    Intel Core i5 7600k
  • Motherboard
    MSI Z270 M5
  • RAM
    Red Corsair Vengeance LED 16GB
  • GPU
    MSI 1070 Gaming X
  • Case
    Red Corsair Carbide Spec Alpha
  • Storage
    SSD : 500 GB Samsung Evo 850, HDD : Seagate 1TB
  • PSU
    EVGA 750W Bronze
  • Cooling
    CoolerMaster Hyper Evo 212X
  • Keyboard
    Razer BlackWidow 2013
  • Mouse
    Logitech G900 Chaos Spectrum
  • Operating System
    Windows 10

Recent Profile Visitors

412 profile views
  1. never liquid cooled before, can I assume the cooler will be compatible with any case?
  2. I am currently rocking a EVGA 700 Watt Bronze PSU, would I need to upgrade that?
  3. Relatively new to building PCs and am not too sure about which cooler to use and water cooling looks generally harder to install.
  4. Do you think I would need water cooling for it? (TR)
  5. I have a Asus ROG PG348Q 34-inch Curved G-Sync Monitor : 3440x1440 resolution, G-Sync, and a 100Hz refresh rate
  6. Phew, was about to get that one tomorrow. It's what I am doing my degree in, so that makes sense. I see that Intel beats AMD in single core performance thought, will that be noticeable while I game?
  7. TL;DR : I am trying to upgrade my current PC build's CPU and need some advice on what processor to choose. Use Case : I work as a Software Developer for a company where I develop a web app. While that's not intensive, I also work as a Game Developer (Unity) and I compile my video game quite frequently to make amendments to test. I also intend on doing work with AI over the next couple of years. In my free time I also enjoy gaming and video editing, I would be playing mostly AAA multi-platform games that come out. I also have a LOT of resources open at the same time, so we're talking 20 browser tabs, Spotify, maybe a tv show going in the background while compiling and testing the video game. I also don't like closing my other development workspace so I can switch between the web dev and the game dev. I feel like my processor is my main bottleneck right now as whenever my PC gets slow my CPU usage is 100%. I am stuck between choosing the following (AMD TR is as high as I can go budget wise) : i7 8086k or i7 8700k or i7 7820X or an AMD Ryzen Threadripper 1920X. I also don't know if I should upgrade my cooler or not. What do you guys suggest I change my CPU and cooling solution to? Current Components : CPU : Intel Core i5 7600K CPU Cooler : 212 Hyper X Evo RAM : 16 GB DDR4 Storage : SSD (1 TB), HDD (2TB), HDD(1TB) GPU : NVIDIA GTX 1070 Motherboard : MSI Z720 M5 (I understand this will have to change too upon upgrade) Thanks for any advice or suggestions!
  8. I agree, RB quality control is terrible. I ended up switching my 2016 one out with a 2017 MacBook Pro after it broke 4 times within a year (all covered by warranty, but didn't want to risk it beyond warranty period).
  9. That's a shame with your requirements. But it makes sense why you wrote it the way you did. Best of luck.
  10. I have made some changes to the code, mostly just making your scanner instance call the next function instead of the nextLine function. It seems to not skip over the input now as it was before. I would highly suggest you modularise your code into functions and run them as you have a bunch of code that basically does the same thing. However, if you guys haven't gotten into data structures and loops and functions yet I wouldn't fret. This is the functional code, however, I seem to be getting a GPA of 200+ which sounds great if it was true, but in my experience GPA doesn't range past single digits. import java.util.Scanner; public class GPA { public static void main (String []args) { Scanner scan=new Scanner(System.in); System.out.println("Hello, Welcome to the GPA calculator"); String firstName, lastName, majorDegree, courseNum1, courseNum2, courseNum3, courseNum4; byte courseCredits1, courseCredits2, courseCredits3, courseCredits4; String qPoints1, qPoints2, qPoints3, qPoints4; double calc1_1, calc1_2, calc1_3, calc1_4; System.out.println("Please enter your first name."); firstName=scan.nextLine(); System.out.println("Please enter your last name."); lastName=scan.nextLine(); System.out.println("What is your Major?"); majorDegree=scan.nextLine(); System.out.println("Please enter the course number for your first class."); courseNum1=scan.next(); System.out.println("How many credits was this first course worth?"); courseCredits1=scan.nextByte(); { System.out.println(" QUALITY POINTS:\n _________________________ \n A 4.00 A- 3.67 \n B+ 3.33 B 3.00 B- 2.67 \n C+ 2.33 C 2.00 C- 1.67 \n D+ 1.33 D 1.00 \n F 0.00"); } System.out.println("Please enter exactly how many Quality points you received for your first class based on the chart above."); qPoints1=scan.next(); String numConvert1= qPoints1; float finalNum1 = Float.parseFloat(numConvert1); calc1_1= finalNum1*courseCredits1; System.out.println("Please enter the course number for your second class."); //This is where im having trouble..................................................................................................................................................................... courseNum2=scan.next(); System.out.println("How many credits was this second course worth?"); //This is also where im having trouble...................................................................................................................................................................... courseCredits2=scan.nextByte(); System.out.println(" QUALITY POINTS:\n _________________________ \n A 4.00 A- 3.67 \n B+ 3.33 B 3.00 B- 2.67 \n C+ 2.33 C 2.00 C- 1.67 \n D+ 1.33 D 1.00 \n F 0.00"); System.out.println("Please enter exactly how many Quality points you received for your second class based on the chart above."); qPoints2=scan.next(); String numConvert2= qPoints2; float finalNum2 = Float.parseFloat(numConvert2); calc1_2= finalNum2*courseCredits2; System.out.println("Please enter the course number for your third class."); courseNum3= scan.next(); System.out.println("How many credits was this third course worth?"); courseCredits3= scan.nextByte(); { System.out.println(" QUALITY POINTS:\n _________________________ \n A 4.00 A- 3.67 \n B+ 3.33 B 3.00 B- 2.67 \n C+ 2.33 C 2.00 C- 1.67 \n D+ 1.33 D 1.00 \n F 0.00"); } System.out.println("Please enter exactly how many Quality points you received for your third class based on the chart above."); qPoints3=scan.next(); String numConvert3= qPoints3; float finalNum3 = Float.parseFloat(numConvert3); calc1_3= finalNum3*courseCredits3; System.out.println("Please enter the course number for your fourth class."); courseNum4= scan.next(); System.out.println("How many credits was this fourth course worth?"); courseCredits4= scan.nextByte(); { System.out.println(" QUALITY POINTS:\n _________________________ \n A 4.00 A- 3.67 \n B+ 3.33 B 3.00 B- 2.67 \n C+ 2.33 C 2.00 C- 1.67 \n D+ 1.33 D 1.00 \n F 0.00"); } System.out.println("Please enter exactly how many Quality points you received for your fourth class based on the chart above."); qPoints4=scan.next(); String numConvert4= qPoints4; float finalNum4 = Float.parseFloat(numConvert4); calc1_4= finalNum4*courseCredits4; String totalQualityPoints= qPoints1+qPoints2+qPoints3+qPoints4; int finalTotalQPoints= Integer.parseInt(totalQualityPoints); int totalCourseCredits= courseCredits1+courseCredits2+courseCredits3+courseCredits4; int gpa= finalTotalQPoints/totalCourseCredits; System.out.println("Your GPA is : "+gpa); } } Slightly off topic, but next time you post some code to the forums, using the small code button is awesome as it lays out your code in a nice box. EDIT : If you would like to see how I would write the program if I were you here's a link to my version of your code. In writing this program, assuming this is an initial stage and you will be using course numbers, the person's name and major later (as it's redundant asking for them if they are not going to be used) I would use a Course datatype that stores all of your important values and would also use a for loop when asking for details as it's the same text over and over again. My implementation also takes students who either underload ( taking less than 4 courses) or overload ( taking more than 4 courses) into consideration.
  11. Damn beat me to it. Yeah, maybe try implement more modular code to make it cleaner.
×