package examples;
import java.text.DecimalFormat;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner (System.in);
...
Type: Posts; User: pushpendra.saraswat@gmail
package examples;
import java.text.DecimalFormat;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner (System.in);
...
public static void main(String [] args){
Scanner input = new Scanner(System.in);
System.out.println ("Please tell me your name.");
String name = input.nextLine();
System.out.println...
What I feel
Card is a Class
and which is having attributes .. point and color
so create a deck array put all d Card inside this array and shuffle this array...
use any algorithm ......
Try this code this will work
===============================
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Ship
{