KING'S IT WORLD
please register to watch content in detail
THANKS
ADMIN KINGSIT WORLD
KING'S IT WORLD
please register to watch content in detail
THANKS
ADMIN KINGSIT WORLD
KING'S IT WORLD
Would you like to react to this message? Create an account in a few clicks or log in to continue.

KING'S IT WORLD


 
HomeHome  GalleryGallery  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  
Search
 
 

Display results as :
 
Rechercher Advanced Search
kings it world text ad
KINGSITWORLD CALENDAR
Follow me on G+
KINGSITWORLD WEATHER
Latest topics
» QURAN MAJEED KE TAFSEER
cs101 assignment no 4 complete solution Icon_minitimeMon Aug 20, 2012 2:59 am by YOUSUFHALI

» PHY301 CIRCUIT THEORY REFERENCE BOOK
cs101 assignment no 4 complete solution Icon_minitimeWed Jul 25, 2012 11:36 am by shabbir1915

» MTH202 ASSIGNMENT NO 3 SOLUVED
cs101 assignment no 4 complete solution Icon_minitimeMon Jun 11, 2012 9:51 am by jaffarhussain

» Retrieve the DTC In the Jewel Module of 1995 Ford
cs101 assignment no 4 complete solution Icon_minitimeThu May 31, 2012 11:51 am by obd2tool

» How you can Obvious the Check Engine Light on the
cs101 assignment no 4 complete solution Icon_minitimeThu May 31, 2012 11:43 am by obd2tool

» send free sms and send free sms update on facebook
cs101 assignment no 4 complete solution Icon_minitimeTue May 15, 2012 8:33 pm by rizwan269

» United Bank Limited (UBL) - Fee Deposit
cs101 assignment no 4 complete solution Icon_minitimeThu May 10, 2012 3:33 pm by irumnaz

» PHOTO MIXER SOFTWARE
cs101 assignment no 4 complete solution Icon_minitimeFri Apr 20, 2012 10:02 am by sacredwkb

» Entrepreneurship Survey
cs101 assignment no 4 complete solution Icon_minitimeThu Mar 08, 2012 2:20 pm by Admin

» Fall 2011 Semester Result Announced
cs101 assignment no 4 complete solution Icon_minitimeThu Mar 08, 2012 2:19 pm by Admin

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
kings it world text ad
Social bookmarking
Social bookmarking reddit      

Bookmark and share the address of KING'S IT WORLD on your social bookmarking website

Bookmark and share the address of KING'S IT WORLD on your social bookmarking website
visitors counter
cs101 assignment no 4 complete solution Image
Powered by website analytics technology.
Keywords
term paper assignment 2010 MGT502 MGMT611 HRM611 2011 final
kings it world text ad
FLAG COUNTER
free counters
LIVE TRAFFIC

 

 cs101 assignment no 4 complete solution

Go down 
AuthorMessage
mubeenji




Posts : 1
Points : 3
Reputation : 0
Join date : 2012-01-19

cs101 assignment no 4 complete solution Empty
PostSubject: cs101 assignment no 4 complete solution   cs101 assignment no 4 complete solution Icon_minitimeThu Jan 19, 2012 10:50 pm





function ValidateStartField()
{
var chk = /^\d+$/.test(document.forms["mubeen"]["start"].value);
if (!chk)
{
window.alert("Please Enter Numeric Value in start field");
document.forms["mubeen"]["start"].value="";
document.forms["mubeen"]["start"].focus();
return false;
}
var x=document.forms["mubeen"]["start"].value;
if (x==0 || x=="" || x<2 || x>20)
{
window.alert("The value of Start field should be between 2 to 20");
document.forms["mubeen"]["start"].value="";
document.forms["mubeen"]["start"].focus();
return false;
}
else
{
return true;
}
}

function ValidateEndField()
{
var chk = /^\d+$/.test(document.forms["mubeen"]["end"].value);
if (!chk)
{
window.alert("Please Enter Numeric Value in end field");
document.forms["mubeen"]["end"].value="";
document.forms["mubeen"]["end"].focus();
return false;
}
var x=document.forms["mubeen"]["end"].value;
if (x==0 || x=="" || x<1 || x>20)
{
window.alert("Please Enter Value Greater then Zero");
document.forms["mubeen"]["end"].value="";
document.forms["mubeen"]["end"].focus();
return false;
}
}
function ValidateSizeField()
{
var chk = /^\d+$/.test(document.forms["mubeen"]["size"].value);
if (!chk)
{
window.alert("Please Enter Numeric Value in size field");
document.forms["mubeen"]["size"].value="";
document.forms["mubeen"]["size"].focus();
return false;
}
else if (document.forms["mubeen"]["size"].value<0 )
{
window.alert("Please Enter Value Greater then Zero");
document.forms["mubeen"]["size"].value="";
document.forms["mubeen"]["size"].focus();
return false;
}
else if (document.forms["mubeen"]["size"].value>20 || document.forms["mubeen"]["size"].value <2 )
{
window.alert("The value of Size field should be between 2 to 20");
document.forms["mubeen"]["size"].value="";
document.forms["mubeen"]["size"].focus();
return false;
}
else
{
true;
}
}


function DisplyTable()
{
var a=document.forms["mubeen"]["start"].value;
var b=document.forms["mubeen"]["end"].value;
var z1=document.forms["mubeen"]["size"].value;
m=parseInt(a);
u=parseInt(b);
b=parseInt(z1);
u=u+1;
b=b+1
document.write('
');
document.write('');
var c=1;
for (i=a;i{
document.write('
');
c=c+1;
if (c>4)
{
document.write('');
c=1;
}
}
document.write('');
document.write('
');
document.write('
Table of '+i+'');
document.write('');
for (j=1;j{
document.write('
');
document.write('');
document.write('');
document.write('');
document.write('');
document.write('');
}
document.write('
' +i+ '*' +j+ '=' +i*j+ '
');
document.write('
');
}
function GenerateTables()
{
if (!ValidateStartField()||!ValidateEndField()||!ValidateSizeField() )
{
}
if (ValidateStartField()&&ValidateEndField()&&ValidateSizeField() )
{
}
else
{
DisplyTable();
}
}




Fall assignment No::: 4_2011 (CS101)


 



















Start:


End:

Depth/Size:



 


 


Composed: by Mubeen Mehmood


Id: MC110401647






Back to top Go down
 
cs101 assignment no 4 complete solution
Back to top 
Page 1 of 1
 Similar topics
-
» cs101 3rd assignment solution
» cs101 2nd assignment solution
» CS101 ASSIGNMENT NO 1 SOLUTION
» CS101 ASSIGNMENT NO 3 SOLUTION FALL 2010
» CS101 ASSIGNMENT NO 4 SOLUTION FALL 2010

Permissions in this forum:You cannot reply to topics in this forum
KING'S IT WORLD :: EDUCATION :: ASSIGNMENTS-
Jump to: