May 9, 2011
//Downloaded From theonlinetutorials.com #include<iostream.h> #include<conio.h> int main() { int a[1000],n,max,max1; cout<<”How many no you will input”<<endl; cin>>n; for(int i=0;i<n;i++) { cin>>a[i]; } //Escape When two input are not avaliable if(n<=1) { cout<<”Maximu two No are”<<endl; for(int i=0;i<n;i++) { cout<<a[n]<<endl; } return 0; } //store maximu value between a[0] and a[1] max=a[0]>a[1]?a[0]:a[1]; max1=a[0]<a[1]?a[0]:a[1]; for(i=2;i<n;i++) { if(a[i]>max1) [...]
Read the full article →
May 4, 2011
//Downloaded From theonlinetutorials.com //PROJECT SCHOOL FEE ENQUIRY #include<iostream.h> #include <fstream.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <ctype.h> #include <conio.h> #include <dos.h> #include <iomanip.h> int i,j,li,lp,rec,valid; void help(); //**************************** ***************************** // GLOBAL VARIABLE DECLARATIONS //**************************** ***************************** //int i,j,li,lp; char ch,choice; //**************************** ***************************** // THIS CLASS DRAWS LINES, BOXES, ETC. //**************************** ****************************** class DRAW { public [...]
Read the full article →