#include
int main () {
ifstream f1, f2;
ofstream f3;
int i,j;
f1.open("n1");
f2.open("n2");
f3.open("n1n2");
f1 >> i;
f2 >> j;
while (f1 && f2) {
if (i <>> i;
}
}
else {
while (j <= i && f2 && f3) { f3 <<>> j;
}
}
}
while (f1) {
f3 <<>> i;
}
while (f2) {
f3 <<>> j;
}
return (0);
}
No comments:
Post a Comment