Profile image for Xianguang Yan Sp0xs
Code for school
Language
Text only
Tags
school

Thingy

1 import java.util.Scanner; 2 3 public class Fail { 4 5 //According to Mr.Wright I'm not sure if were suppose to use yours or what, but according to yorus I'll just make my own version... 6 public static void main(String[] args) { 7 Scanner readKeyboard = new Scanner(System.in); 8 9 10 String circleName; 11 String circleUnits; 12 String whatIsNext ; 13 int answerCircle, answerArea; 14 double circleRadius ; 15 16 17 System.out.println ("Is life ok? If so Please give it a number on how well it is the bigger it is the better!"); 18 System.out.println (); 19 circleName = readKeyboard.nextLine(); 20 System.out.println ("Now Take that number and multiply it by this magical number {x} !"); 21 circleUnits = readKeyboard.nextLine(); 22 System.out.println (); 23 System.out.println ("Thats IT!!! THATS WHAT YOUR NEXT TEST SCORE IS GOIGN TO BE! "); 24 circleRadius = readKeyboard.nextDouble(); 25 System.out.println (); 26 whatIsNext = readKeyboard.nextLine(); 27 28 // do the computations 29 answerCircle = (int) (53.2); 30 answerArea = (int) (circleRadius * 0 + 32 + 32 + 32); 31 32 // print out a stalling graphic 33 System.out.println (".........,....................,......,.............,......,........................"); 34 System.out.println ("...,,..,...........................,......:,,::,,:,.,,,,:,.,,.........,...,..,,...."); 35 System.out.println ("..,..,,.....,.l▓▓███████████▓▓▓▓▓▓██▓██▓▓▓,,.."); 36 System.out.println (",...,..,..▓█▓▓▓▓lBEnjjBllllllBjzv░1JTHt..█▓.......,...,,"); 37 System.out.println ("..,......▓█M:..,::,,:;1JBt;,...,....q:....▓▓llEL...........,..."); 38 System.out.println (",...,...█,,,...░;........;x,.......,:,,..█lM.......,,"); 39 System.out.println (".....,█▓...,..Lii███▓B1....▓▓▓█████lM.,,........j█�� �;......"); 40 System.out.println ("...W██▓w,,..,▓▓█████M...k██▓▓▓█▓▓▓v▓▓▓▓� ��;.▓█▓..."); 41 System.out.println ("..#ll█::vn▓▓▓▓g;J:..,.t█▓................,n▓▓glll▓▓▓▓Wl▓▓.wl l█.."); 42 System.out.println ("...zi█;:..,..,t▓7▓▓░2ll█▓:......,.X▓Bq..,.........Bll▓▓█▓.El█3.F █lll"); 43 System.out.println (".....▓█1t;3█▓.,...Wl██,..,..f▓▓Mi█W,rB▓▓▓█lB;..▓█lBt█lK.:; █.."); 44 System.out.println ("....,.f█▓W███▓▓7:..▒▓█M..tjBl▓██▓Bjzr▒█▓Bj██jY.,..,h █▓2.."); 45 System.out.println (".....,..j█.jll█Bl▓▒ll█fjllllll█llBIjj█6;:..▒▓▓▓████,l█▓. .....Bl█▓..,.."); 46 System.out.println (",......U█.;r█████▓▓▓█▓▓█▓▓███████W.....yi █;:......."); 47 System.out.println ("........j█...█████████████▓lM:.k▓M..f▓█W,...,..lll█8 :.....,..."); 48 System.out.println (",......N▓,..B██▓▓.█M1▓▓.,..j█....,;8l██▓W,.....░ll██r:....., ,..,,"); 49 System.out.println ("......r▓▓.....▒ll▓▓▓██▓█▓▓██▓▓▓▓881xtll▓▓██▓ I....,..,,..,..."); 50 System.out.println ("......I█▓.6;,.░;,,,..,..;r░::v7::,..;YTn;xtll▓▓█▓▓n..........,,..,....."); 51 System.out.println (".....w█▓..,JjlgglllBjkT:,..,.........,,.,W▓▓▓▓H...............,,..,..,,.."); 52 System.out.println (",......U█▓r....,......,......,;rll▓l█▓▓▓▓t,..,..........,..,,..,..,,.,,... ."); 53 System.out.println (".........▒███▓▓▓▓███▓▓▓██▓▓▓██▓▓▓██▓▓▓...,,..,..,,..,.., ,.,,..."); 54 System.out.println (",...,..,.............,...,......,......,..,...,..,......,......,...,......,........"); 55 System.out.println (); 56 57 System.out.println ("Are you ready for the answer? Press Enter to continue"); 58 whatIsNext = readKeyboard.nextLine(); 59 System.out.println (); 60 61 System.out.println (); 62 System.out.println (answerCircle + "% is the lowest and up to" + answerArea + " Congrats..."); 63 64 65 } 66 67 }

Comments