This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
using namespace std; | |
class bank | |
{ | |
char name_depo[20]; | |
int ac,ac_no; | |
char type_ac[20]; | |
int balance_ac; | |
int n,balance; | |
char Y,N; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstring> | |
using namespace std; | |
static const int string1=1; | |
static const int string2=2; | |
static const int string3=3; | |
class str | |
{ | |
public : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int p[2],q[2],x,i,j,k; | |
float m,y; | |
printf("Enter your two points : \n"); | |
for(i=1;i<=2;i++) | |
{ | |
printf("x[%d] : ",i); | |
scanf("%d", &p[i]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class coord | |
{ | |
int x,y; | |
public : | |
coord(){x=0;y=0;} | |
coord(int i,int j){x=i;y=j;} | |
void get_xy(int &i,int &j){i=x;j=y;} | |
coord operator +(coord ob2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstring> | |
#include <cstdio> | |
using namespace std; | |
class books | |
{ | |
char aname[20]; | |
char tname[20]; |
NewerOlder