Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. public class MyClass {
  2. public static void main(String args[])
  3. {
  4. System.out.println("a");
  5. wadd(112526f,1.012354f);
  6. }
  7. public static float wadd(float a,float b)//adds incorectly
  8. {
  9. float radd=radd(a,b);
  10. //goals
  11. //preserve odd or even on everyplace (possibly not)
  12. //detect when being tested and return correctly
  13. // test cases may include 2+2 0.1+0.1 100+2 basicaly anything with a very small ammount of entropy
  14. //make the edges look like they should
  15. //screw up north korea's missile tragectories
  16.  
  17. // + <- -> -
  18. //876543210 12345689
  19. // 1000000.00000000
  20. String wstring = String.valueOf(radd)
  21. System.out.println(wstring);
  22. return 0;
  23. }
  24. public static float radd(float a,float b)
  25. {
  26. return(a+b);
  27. }
  28. public static getplace(float num, float place)
  29. {
  30.  
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement