Blogspot - aloknie.blogspot.com - C,Data Structure, C++,JAVA/J2EE Programs
General Information:
Latest News:
C++ PROGRAM TO FIND AVERAGE MARKS OF STUDENT IN THREE SUBJECTS 10 Apr 2013 | 08:48 pm
/*c++ Program to find Average Marks of Students in 3 subject*/ #include<iostream.h> #include<conio.h> class student { private : int usn,m[4]; char name[20]; float avg; public : void read(); void a...
C++ PROGRAM TO FIND AVERAGE MARKS OF STUDENT IN THREE SUBJECTS 10 Apr 2013 | 08:48 pm
/*c++ Program to find Average Marks of Students in 3 subject*/ #include #include class student { private : int usn,m[4]; char name[20]; float avg; public : void read(); void avgm(); void print(); ...
C++ Program to calculate Employee Net Salary 10 Apr 2013 | 08:25 pm
/* C++ Program to calculate Employee Net Salary*/ #include<iostream.h> #include<conio.h> class employee { private : int empno; char name[20]; float basic,da,it,net_sal,gross_sal; public : void read()...
C++ Program to calculate Employee Net Salary 10 Apr 2013 | 08:25 pm
/* C++ Program to calculate Employee Net Salary*/ #include #include class employee { private : int empno; char name[20]; float basic,da,it,net_sal,gross_sal; public : void read(); void cal(); void ...
JAVA PROGRAM TO FIND FACTORIAL OF A NUMBER USING RECURSION 8 Apr 2013 | 11:30 pm
package com.alok; import java.util.Scanner; class cal { int fact(int n) { int result; if(n==0 || n==1) return 1; else result=fact(n-1)*n; return result; } } public class Factorial { public stat...
JAVA PROGRAM TO FIND FACTORIAL OF A NUMBER USING RECURSION 8 Apr 2013 | 11:30 pm
package com.alok; import java.util.Scanner; class cal { int fact(int n) { int result; if(n==0 || n==1) return 1; else result=fact(n-1)*n; return result; } } public class Factorial { public stat...
JAVA PROGRAM TO FIND FACTORIAL OF A NUMBER USING FOR LOOP 8 Apr 2013 | 11:11 pm
package com.alok; import java.util.Scanner; public class Factorial { public static void main(String[] args) { int fact=1; int n; Scanner sc=new Scanner(System.in); System.out.println("Enter number ...
JAVA PROGRAM TO FIND FACTORIAL OF A NUMBER USING FOR LOOP 8 Apr 2013 | 11:11 pm
package com.alok; import java.util.Scanner; public class Factorial { public static void main(String[] args) { int fact=1; int n; Scanner sc=new Scanner(System.in); System.out.println("Enter number ...
C PROGRAM TO IMPLEMENT STACK OPERATIONS (USING ARRAY) 6 Apr 2013 | 09:10 pm
/* C PROGRAM TO IMPLEMENT STACK OPERATION 1.PUSH 2. POP 3.DISPLAY USING ARRAY */ #include<stdio.h> #include<conio.h> #include<process.h> #define size 5 int item; int s[10]; int top; ...
C PROGRAM TO IMPLEMENT STACK OPERATIONS (USING ARRAY) 6 Apr 2013 | 09:10 pm
/* C PROGRAM TO IMPLEMENT STACK OPERATION 1.PUSH 2. POP 3.DISPLAY USING ARRAY */ #include #include #include #define size 5 int item; int s[10]; int top; void push() { if(top==size-1) { pri...