List of tutorials
List of tutorials related to programming:-
Web Designing / Hosting
http://www.w3schools.com/html/default.a
http://www.htmlgoodies.com/
http://www.htmlcodetutorial.com/
http://htmlhelp.com/
http://bravehost.com
http://freewebs.com
http://ifastnet.com
Programming
http://freevbcode.com
http://www.sourcecodesworld.com/
http://www.cprogramming.com/
http://www.planet-source-code.com/
http://www.programmersheaven.com
Also we are giving you out some source code in C .
Some of the C Source codes:-
/*
File Name:Add.c
Creator: Itz Indian Programmers
*/
void main(){
int a,b,sum;
clrscr();
printf("Enter a number:");
scanf("%d",&a);
printf("Enter another number:");
scanf("%d",&b);
sum=a+b;
printf("\n\n Total sum of %d + %d = %d",a,b,sum);
getch();
}
// Code over
/*
File Name:Subtract.c
Creator: Itz Indian Programmers
*/
void main(){
int a,b,sub;
clrscr();
printf("Enter a number:");
scanf("%d",&a);
printf("Enter another number:");
scanf("%d",&b);
sub=a-b;
printf("\n\n The subtraction of %d - %d = %d",a,b,sub);
getch();
}
// Code over
/*
File Name:Multi.c
Creator: Itz Indian Programmers
*/
void main(){
int a,b,multi;
clrscr();
printf("Enter a number:");
scanf("%d",&a);
printf("Enter another number:");
scanf("%d",&b);
sum=a*b;
printf("\n\n Product of %d X %d = %d",a,b,multi);
getch();
}
// Code over
/*
File Name:Total time
Creator: Shashi Agrawal
*/
struct time{ int h,min;
}t1,t2;
void main(){
int sumh;
int summ;
printf("Enter a time: \n Hours:");
scanf("%d",&t1.h);
printf("Minutes:");
scanf("%d",t1.min);
printf("Enter another time: \n Hours:");
scanf("%d",&t2.h);
printf("Minues:");
scanf("%d",$&t2.min);
sumh=t1.h+t2.h;
summ=t1.min+t2.min;
if(summ>=60){
sumh=sumh+summ/60;
summ=summ%60;
}
printf("\n\n The total time is %d:%d",sumh,summ);
getch();
}
//Code OVER
----------------------------------------------------------
*Note: Like the above programs you can make more after using your brain a bit!
No comments:
Post a Comment