PHP-Mysql PROJECT CODE tips and tricks , c / CPP /JAVA/ JSP-Mysql tips and tricks...and ORACLE World of opensource Web programming
Friday, October 7, 2011
Tuesday, October 4, 2011
marksheet using array
#include<stdio.h>
#include<conio.h>
void main()
{
int marks[4],tot=0,per,i;
clrscr();
for(i=0;i<4;i++)
{
printf("\nEnter Marks[%d subject]:",i+1);
scanf("%d",&marks[i]);
tot=tot+marks[i];
}
per=tot/4;
if(marks[0]>=40 && marks[1]>=40 && marks[2]>=40 && marks[3] >=40)
{
if(per >= 70)
{
printf("\nDistinction");
}
else if(per >= 60)
{
printf("\nFirst Class");
}
else if(per >= 50)
{
printf("\nSecond Class");
}
else
{
printf("\nPass");
}
printf("\n-------------------\n");
for(i=0;i<4;i++)
{
printf("\n subject %d : %d",i+1,marks[i]);
}
printf("\n-------------------\n");
printf("\n total : %d",tot);
printf("\n percentage : %.2f",(float)per);
printf("\n-------------------\n");
}
else
{
gotoxy(35,12);
textcolor(RED+BLINK);
cprintf("Fail");
}
getch();
}
Friday, September 30, 2011
Syllabus Saurashtra University
SAURASHTRA UNIVERISTY
BECHELOR OF SCIENCE (INFORMATION TECHNOLOGY)
B.Sc.(I.T.)
Syllabus of Semester - III and Semester - IV
Effective from June - 2008
Bachelor of Science (Information Technology)
B.Sc. (I.T.)
Syllabus of Semester - V & Semester - VI
(Effective from: June - 2009)
MSC(IT &CA) NEW [year - 2011]
MCA NEW Syallabus saurashtra university rajkot. [year-2010]
MCA [old syallabus , saurashtra university rjakot.
Saturday, September 24, 2011
onchange event color
<form name='frm'>
Color:<select name='clr' onchange="chgclr(frm)">
<option value='red'>RED</option>
<option value='pink'>Pink</option>
<option value='green'>Green</option>
<option value='blue'>Blue</option>
<option value='cyan'>Cyan</option>
</select>
</form>
</body>
Monday, September 20, 2010
queue by javascript
Monday, August 17, 2009
CREATING LINKS WITH OTHER PAGE
<A>…</A> [Anchor tag]
This element is used to make hyperlink its one of the important tag of html. This tag is use to made hyperlink. Text enclosed with in this tag is became hyperlink text.
|HREF: this attribute is having address of file or bookmark by clicking over the hyperlink you can jump to that file or bookmark.
For example: <a href=’main.html’>main page</a>
By clicking over the text main page this link will load main.html in the browser window.
|NAME: Name attribute use for creating bookmark in the document <a name=’xyz’>xyz</a> see the text enclosed within the <A> tag is became a bookmark.
When you have to give hyperlink to that bookmark you have to put ‘#’ before bookmark name and give as value to HREF attribute.
For example: <a href=’#xyz’>Index</a>
By clicking over the text index you will be jumped to the xyz bookmark.
|TARGET: This attribute used to set target that where the document will show mainly used when framed document is there.
|ACCESSKEY: defined keyboard shortcut.
|TABINDEX: defined tab order for the link.
MARQUEE TAG
<MARQUEE> … </MARQUEE>
This element will animate the enclosed text or any other object.
Attributes of <MARQUEE> … </MARQUEE> | |
BEHAVIOR | There is three behavior scroll, slide, and alternate. Scroll is by default behavior, slide will take enclosed object or text form right to left, alternate will take enclosed object at next horizon and move back to the opposite horizon. |
DIRECTION | Using this attribute you can set the direction of marquee values can be left, right, up , down . |
LOOP | Using this element you can set the number of time marquee will work. If value is -1 than infinite marquee. |
Scrollamount | You can set speed of marquee using this attribute. You have to give no. of pixel you want to move for each scroll time. |
Scrolldelay | You can set a time for each move of marquee you have to give time in millisecond form, if value is small than marquee move speedy else vice-a-versa. |
BGCOLOR | you can give the background color for marquee |
Align | This attribute will set alignment of text or object inside marquee, value can be top, bottom, middle. |
Height | The height of marquee’s area you can set using this attribute value can be given in pixels. |
Width | The width of marquee’s area you can set using this attribure value can be given in pixels. |
Hspace | To set the horizontal space inside the marquee. |
Vspace | To set the vertical space inside the marquee. |
For example:
<marquee behavior="alternate" height="200" width="200" align="bottom" hspace="20" vspace="20" bgcolor="#009999" scrollamount="20" scrolldelay="100" direction=’up’> HELLO WORLD </marquee>
<marquee behavior="alternate" height="200" width="200" align="bottom" hspace="20" vspace="20" bgcolor="#009999" scrollamount="20" scrolldelay="100" direction=’down’> HELLO WORLD </marquee>