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>