Home

Number of employees getting salary between 5000-10000 -C Program

#include<stdio.h> #include<conio.h> main() { int salary[10],i,count=0; for(i=0;i<10;i++) { printf("input salary of employee:"); scanf("%d",&salary[i]); } for(i=0;i<10;i++) { if(salary[i]>5000&&salary[i]<=10000) { count=count+1; } } printf("Number of employees getting salary between 5000-10000=%d",count); getch(); }

Number of employees getting salary between 5000-10000 -C Program Read More

C ++Program Project (Bank Management System)

#include<iostream> #include<fstream> #include<cctype> #include<iomanip> using namespace std; //*************************************************************** // CLASS USED IN PROJECT //**************************************************************** class account { int acno; char name[50]; int deposit; char type; public: void create_account(); //function to …

C ++Program Project (Bank Management System) Read More