III-E Charles de Gaulle-'07

Very makulit.. But loving.. wEEeh!! all III-E are going to meet here, chat and check everything.. waha! And our tender loving care mother MS.NONIE is also part of this!!
 
HomePortalCalendarGalleryFAQSearchRegisterMemberlistUsergroupsLog in

Share | 
 

 PRACTICAL TEST IN COMPUTER!!!

View previous topic View next topic Go down 
AuthorMessage
Hitman

avatar

Number of posts : 131
Age : 24
Localisation : In the Chat Cafe
Registration date : 2007-07-25

PostSubject: PRACTICAL TEST IN COMPUTER!!!   Wed Aug 15, 2007 8:46 pm

Quote :
/*
* @StudentName ??????????????
* @Section ??????????????
* @Date Submitted ????????????????
*/

public class Truth_table
{
public static void main(String []args)
{
boolean oper1, oper2, truth;

System.out.println("\n\n\n\n");
System.out.println("|-----------------------------TRUTH TABLE FOR OR-----------------------------|");
System.out.println("| Operand1 | Operand2 | Result |");
System.out.println("|----------------------------------------------------------------------------|");

/* Line 1 */
oper1= false;
oper2= false;
truth= oper1 || oper2;
System.out.println(" "+oper1+"\t\t "+oper2+"\t\t "+truth);

/* Line 2 */
oper1= ??????
oper2= ?????????
truth= ????????
System.out.println(????????????????);

/* Line 3 */
oper1= ???????????
oper2= ????????
truth= ???????????
System.out.println(???????????????????????????);

/* Line 4 */
oper1= ??????????
oper2=??????????
truth= ???????????
System.out.println(???????????????????);

System.out.println("|----------------------------------------------------------------------------|");
}
}


NOTE: ??????>>> to be filled out...

You also need to have at least 2 examples in this test...

This is my work.....



_________________
Back to top Go down
View user profile
 
PRACTICAL TEST IN COMPUTER!!!
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Old Motor Week Jon Moss T56 Impala SS road test video
» TTA Road test
» Stupidity test failed
» Free Test equipment manuals online
» Boiler test

Permissions in this forum:You cannot reply to topics in this forum
III-E Charles de Gaulle-'07 :: Subject Matter! :: Tutorial Board-
Jump to: