MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Software
Register FAQ Members List Calendar Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.

Closed Thread
Thread Tools Display Modes
Old 04-05-12, 11:47
erdy_rezki erdy_rezki is offline
Private E-2
Join Date: Apr 2012
Location: indonesia
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default its not yet finish but i feel complicated

package toy;
public class MathExploreToy{
public class MathExploreToy(){
static void test {
test E();
static void betterTest(){


static void betterTest(){
static void test E
System.out.println("Testing untuk math.E");
System.out.println("Math.E= "+Math.E);

static void test PI(){
System.out.println("Testing untuk math.PI");

System.out.println("Math.PI = "+Math.PI);

static void testAbs(){
System.out.println("Testing untuk Math.abs()");
System.out.println("Double.MIN_VALUE = "+Double.MIN.VALUE);
System.out.println("Math.abs(Double.MIN_VALUE) ="Math.abs(Double.MIN_VALUE));
System.out.println("Math.abs(-Double.MIN_VALUE) ="Math.abs(-Double.MIN_VALUE));
System.out.println("Math.abs(Double.MAX_VALUE) ="+Double.MAX_VALUE);
System.out.println("Math.abs(Double.MAX_VALUE) ="+Math.abs(Double.MAX_VALUE));

static void testIntAbs(){
System.out.println("cara pengujian yang lebih baik mendukung otomatisasi");
System.out.println("Testing untuk Math.abs() bagi bilangan bulat");

if (Math.abs(-23) !=23)System.out.println("Math(-23)::Error Hasil harus 23");
else System.out.prinln(Math(-23):: Correct!");
if (Math.abs(0) !=0)System.out.println("Math(0)::Error Hasil harus 0");
else System.out.prinln(Math(0):: Correct!");
if (Math.abs(23) !=23)System.out.println("Math(23)::Error Hasil harus 23");

System.out.println("integer.MIN_VALUE) = "+integer.MIN_VALUE);
System.out.println(Math.abs(Integer.MIN_VALUE) ="+math.abs(Integer.MIN_VALUE));
System.out.println("integer.MAX_VALUE) = "+integer.MAX_VALUE);
System.out.println(Math.abs(Integer.MAX_VALUE) ="+math.abs(Integer.MAX_VALUE));

if (Math.abs(Integer.MIN_VALUE) != (-Integer.MIN_VALUE))
System.out.println("Math(Integer.MIN_VALUE) :: Error!");
else System.out.println("Math(Integer.MIN_VALUE) :: Correct!");
if (Math.abs(Integer.MIN_VALUE) < 0)
System.out.println("Math(Integer.MIN_VALUE) :: Error! hasil harus > 0");
else System.out.println("Math(Integer.MIN_VALUE) :: Correct!");

it not yet finish but i feel comlicated, can i ask somebody? this programm need package or not?
Sponsored links
Old 04-06-12, 05:08
erdy_rezki erdy_rezki is offline
Private E-2
Join Date: Apr 2012
Location: indonesia
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: its not yet finish but i feel complicated

this day i will try to make a package
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TrueCrypt.... is complicated... dannskunk Software 4 08-13-11 21:02
This is so **** complicated ....... nerble Malware Removal 9 12-07-10 21:28
complicated need some help getting head round jratcliffe Hardware 2 10-16-09 03:47
Complicated Issue reddy123456 Hardware 2 01-05-09 08:18
Malware removal looks complicated joyrider6482 Majorgeeks Welcome Center 8 08-17-08 13:53

All times are GMT -5. The time now is 18:12.

MajorGeeks.Com Menu

MajorGeeks.Com \ All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ NEW! PC Games \ System Tools \ Macintosh \ Demonews.Com \ Top Downloads

MajorGeeks.Com \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds

All content Copyright source code Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger