Jump to content

AMD Athlon X4 750k; Gigabyte F2A88XM-DS2; 8Gb Corsair XMS 1600 Mhz; AMD Hd5670 1Gb DDR3; Bequiet E6-600W; W7 Ultimate x64

#KILLEDMYWIFE                                                                                                                                                                                                                         so miner; very doge; much value   

Dell Vostro 5470: i5 4200U Nvidia GT740m 2Gb 14" 1366x768 Kingston V300 120Gb                                                                                              

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1339992
Share on other sites

Link to post
Share on other sites

// Java Program to calculate the area of a circle, display older calculations, and have limits(Iteration 7)

import java.util.Scanner;
import java.util.ArrayList;

public class area7
{
    public static int SIZE = 10;
   // public static double [] answers = new double;
    public static ArrayList<String> answers = new ArrayList<String>(SIZE);
  public static void main(String[] args)
  {
    boolean exit = false, incorrectInput, incorrectInput2, circleArea = false, rectangleArea = false, arrayList=false;
    int another, selection;
    double area=0;
    float radius, width, length;
    String stringArea;

    
    Scanner keyboard = new Scanner(System.in);
    
    do{
     
    incorrectInput2 = true;
    
    while (incorrectInput2 == true) {
    System.out.println("Select shape?\n1: Rectangle\n2: Circle\n3: View 10 last answers\n4: Exit");
    selection = keyboard.nextInt();
    keyboard.nextLine();
    
    switch(selection){
      case 1:  rectangleArea = true;
                  incorrectInput2 = false;
                  break;
      case 2:  circleArea = true;
                  incorrectInput2 = false;      
                  break;
      case 3:  arrayList = true;
                  incorrectInput2 = false;      
                  break;
      case 4:  System.exit(0);
                  break;
      default: System.out.println("Error - Incorrect input\nInput the number only\n");
                  incorrectInput2 = true;      
                  break;
    }
    
    }
    
    
    if(rectangleArea == true)
    {
    System.out.println("What's the length of the rectangle?");
    length = keyboard.nextFloat();
    keyboard.nextLine();
    
    System.out.println("What's the width of the rectangle?");
    width = keyboard.nextFloat();
    keyboard.nextLine();
    
    //calc here
   
    area=rectCalc(length, width);
    //add to the array
    stringArea = Double.toString(area);
    answers.add(0, stringArea);
    
       if( area > 92)
       {
         System.out.println("Area of the rectangle is greater than 92...  ERROR_why_I_mad?");
       }
       else if( area < 2)
       {
         System.out.println("Area of the rectangle is less than 2.... ERROR_why_I_care?");
       }
       else
       {
       System.out.println("Area of the rectangle is " + area);
       }
     rectangleArea = false;
    }
    else if(circleArea == true)
    {
    System.out.println("What's the radius of the circle?");
    radius = keyboard.nextFloat();
    keyboard.nextLine();
    //calc here
    
    area=circleCalc(radius);
    //Set value to the array
    stringArea = Double.toString(area);
    answers.add(0, stringArea);
     
      if( area > 106)
      {
        System.out.println("Area of the circle is greater than 106..  ERROR_why_I_mad?");
      }
      else if( area < 1)
      {
        System.out.println("Area of the circle is less than 1.... ERROR_why_I_care?");
      }else
      {
        System.out.println("Area of the circle is " + area);
      }
     circleArea = false;
    }
   else if(arrayList == true)
   {
      System.out.println("The last 10 answers (newest to oldest)");
      for(int index = 0; index < answers.size(); index++)
      {
        System.out.println("Index: " + index + " Area: " + answers.get(index));
      }
      arrayList=false;
   }
  }while(exit == false);  
 }
 
 public static double circleCalc(float radius)
 {
  double total;
  total = Math.PI * radius * radius;
  return total;
 }

 public static double rectCalc(float length, float width)
 {
  double total;
  total = length * width;
  return total;
 }
}

 

A horribly optimized Java program used for uselessness for a class.

"Her tsundere ratio is 8:2. So don't think you could see her dere side so easily."


Planing to make you debut here on the forums? Read Me First!


unofficial LTT Anime Club Heaven Society

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1340004
Share on other sites

Link to post
Share on other sites

Spoiler

CPU: R5 1600 @ 4.2 GHz; GPU: Asus STRIX & Gigabyte g1 GTX 1070 SLI; RAM: 16 GB Corsair vengeance 3200 MHz ; Mobo: Asrock Taichi x470; SSD: 512 gb Samsung 950 Pro Storage: 5x Seagate 2TB drives; 1x 2TB WD PurplePSU: 700 Watt Huntkey; Peripherals: Acer S277HK 4K Monitor; Logitech G502 gaming mouse; Corsair K95 Mechanical keyboard; 5.1 Logitech x530 sound system

 01000010 01101001 01101110 01100001 01110010 01111001 00100000 01100100 01101111 01100101 01110011 01101110 00100111 01110100 00100000 01101101 01100001 01101011 01100101 00100000 01111001 01101111 01110101 00100000 01110000 01110010 01101111 00101110

 

 

 

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1340023
Share on other sites

Link to post
Share on other sites

oestrogen

I am good at computer

Spoiler

Motherboard: Gigabyte G1 sniper 3 | CPU: Intel 3770k @5.1Ghz | RAM: 32Gb G.Skill Ripjaws X @1600Mhz | Graphics card: EVGA 980 Ti SC | HDD: Seagate barracuda 3298534883327.74B + Samsung OEM 5400rpm drive + Seatgate barracude 2TB | PSU: Cougar CMX 1200w | CPU cooler: Custom loop

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1340034
Share on other sites

Link to post
Share on other sites

 http://www.legitreviews.com/wp-content/uploads/2014/01/corsair-graphite-760t.jpg

 

Sitting over here drooling over the side window of the new Corsair 760T

X-10 - 7980XE - Gigabyte Aorous Gaming 9 - 128GB GSkill TridentZ RGB - SLI Asus GTX 1080 TI Strix
Easy Desk GuideMalware Removal Guide - New mobo, Same OS Guide

 

 

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1340046
Share on other sites

Link to post
Share on other sites

P8Z68-V PRO/GEN3

i looked it up for somebody on this forum. to see if it could handle 1866 ram

Intel 3570k 3,4@4,5 1,12v Scythe Mugen 3 gigabyte 770     MSi z77a GD55    corsair vengeance 8 gb  corsair CX600M Bitfenix Outlaw 4 casefans

 

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1340061
Share on other sites

Link to post
Share on other sites

I can't remember but it had something to do with porn. ;)

Current System: CPU - I5-6500 | Motherboard - ASRock H170M-ITX/ac | RAM - Mushkin Blackline 16GB DDR4 @ 2400mHz | GPU - EVGA 1060 3GB | Case - Fractal Design Nano S | Storage - 250GB 850 EVO, 3TB Barracuda | PSU - EVGA 450W 80+ Bronze | Display - AOC 22" 1080p IPS | Cooling - Phanteks PH-TC12DX_BK | Keyboard - Cooler Master QuickFire Rapid(MX Blues) | Mouse - Logitech G602 | Sound - Schiit Stack | Operating System - Windows 10

 

The OG System: I3-2370M @ 2.4 GHz, 750GB 5400 RPM HDD, 8GB RAM @1333Mhz, Lenovo Z580 Laptop (Ubuntu 16.04 LTS).

 

Peripherals: G602, AKG 240, Sennheiser HD 6XX, Audio-Technica 2500, Oneplus 5T, Odroid C2(NAS).

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1359243
Share on other sites

Link to post
Share on other sites

John.. Or Jim.. I forgot, the failed kitchen overclocker decided to turn back to the forum once again to find out where he went wrong. Again, he happened upon one of these spam threads. He the left, feeling quite confident. Then his refrigerator exploded. Yet another spam thread has caused yet another disaster, please remove it before Wendy tries to overclock her puppy...

I am good at computer

Spoiler

Motherboard: Gigabyte G1 sniper 3 | CPU: Intel 3770k @5.1Ghz | RAM: 32Gb G.Skill Ripjaws X @1600Mhz | Graphics card: EVGA 980 Ti SC | HDD: Seagate barracuda 3298534883327.74B + Samsung OEM 5400rpm drive + Seatgate barracude 2TB | PSU: Cougar CMX 1200w | CPU cooler: Custom loop

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1359258
Share on other sites

Link to post
Share on other sites

"Unofficially Official" Leading Scientific Research and Development Officer of the Official Star Citizen LTT Conglomerate | Reaper Squad, Idris Captain | 1x Aurora LN


Game developer, AI researcher, Developing the UOLTT mobile apps


G SIX [My Mac Pro G5 CaseMod Thread]

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1359755
Share on other sites

Link to post
Share on other sites

If the Mecca is destroyed, will all Muslims start spinning around like a broken compass?

 

 

Is that racist?

Where do bad folks go when they die?
They don't go to heaven where the angels fly
They go to the lake of fire and fry, Won't see them again 'till the fourth of July

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1379206
Share on other sites

Link to post
Share on other sites

delidding

 

I copied it and Googled it.

NZXT Phantom|FX-8320 @4.4GHz|Gigabyte 970A-UD3P|240GB SSD|2x 500GB HDD|16GB RAM|2x AMD MSI R9 270|2x 1080p IPS|Win 10

Dell Precision M4500 - Dell Latitude E4310 - HTC One M8

$200 Volvo 245

 

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1379907
Share on other sites

Link to post
Share on other sites

Oh hi there! It's Cwazywazy from BeamNG.

NZXT Phantom|FX-8320 @4.4GHz|Gigabyte 970A-UD3P|240GB SSD|2x 500GB HDD|16GB RAM|2x AMD MSI R9 270|2x 1080p IPS|Win 10

Dell Precision M4500 - Dell Latitude E4310 - HTC One M8

$200 Volvo 245

 

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1379911
Share on other sites

Link to post
Share on other sites

Stanford-Prison experiment

 

I was reading up on a forum topic.

CPU: Intel i5 3570k @ 4.5 Ghz Cooler: Hyper 212+ GPU: MSI Twin Frozr 3 7850 Case: HAF 912 RAM: 2x4GB Corsair Vengeance PSU: OCZ Modxstream 600W Motherboard: ASUS P8Z77-LK HDD: 1TB Seagate Barracuda

Link to comment
https://linustechtips.com/topic/2240-ctrl-v-game/page/21/#findComment-1381067
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×