Ολοκληρώθηκε

# Write some Software

Αυτό το πρότζεκτ ολοκληρώθηκε επιτυχώς από το sadaquat για \$25 USD σε μια μέρα.

\$10 - \$30 USD
1 ημέρα
18
###### Περιγραφή Εργασίας

Input a positive integer,multiply the input integer by two, then call the method...

public static long reverse( long i ) // The method long reverse( long i) returns the integer in reverse order.

Sample Run 1 (Input 12):

Enter a positive integer: 12

12 doubled is 24 and then reversed is 42

Sample Run 2:

Enter a positive integer: 540

540 doubled is 1,080 and then reversed is 801

Sample Run 3:

Enter a positive integer: 1204500

1,204,500 doubled is 2,409,000 and then reversed is 9,042

Consistency notes repeated.

Prompt is "Enter a positive integer: " no newline at end.

Single output line is newline terminated we are using , format specifier with decimal integers.

Hints...

[url removed, login to view]( "%,d doubled is %,d and then reversed is %,d\n", n, ... );

Refer to hints in [url removed, login to view] (you need to type programs that illustrate these hints)

For large numbers refer to hints on Exercise4_1M.java.

Checklist...

Complete blackboard chapter 5 quiz