probsix -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.util.Scanner; import java.lang.*; import java.io.*; import java.text.*; import java.math.*; import java.text.DecimalFormat; import java.lang.String; i public class probsix { static int i,j,c; public static void main(String[] args) { String[][]ID={{"ABC54301","BBC12345","CDD55544","AAB22233"}}; String[] []ANS={{"T","F","F","T","F","F","T","T","T","T","F","F","T","F","T","F","T","F","T" ,"T"}}; String[][]St1={{"T","F","T","F","T","F","T","T"," ","T","F","T","F","T","F","F","T","T","F","T"}}; String[][]St2={{"T","F","F","T","F","F"," "," ","T","T","F","F","T","F","T","F","T","F","T","F"}}; String[][]St3={{"T","F","F"," ","
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ","F","T","T","T","T","F","F","F","F","F","F","T","F","T","T"}}; String St4={{"T","F","F","T","F","F","T","T","T","T","F","F","T","F","T","F","T","F","T" ,"F"}}; printData(ID,ANS,St1,St2,St3,St4); } public static void printData(StringID,StringANS,String St1,StringSt2,StringSt3,StringSt4) { String str; for (i=0;i<4;i++) { System.out.println(ID[0][i]); } System.out.print("Answer Sheet => " ); for (j=0;j<20;j++) System.out.print(" "+ANS[0][j]); System.out.println(); System.out.println("Have a nice day"); } }...
View Full Document

This note was uploaded on 06/17/2011 for the course COMP 2302 taught by Professor Staff during the Spring '11 term at Kennesaw.

Ask a homework question - tutors are online