All pastes #590292 Raw Edit

Mine

public text v1 · immutable
#590292 ·published 2007-06-26 13:57 UTC
rendered paste body
#include <conio.h>
#include "FLOAT.h"
#include <stack.h>
#include <string.h>
void main()
{
randomize();
float k;
cout<<"Enter size of array";
cin>>k;
float*m= new float[k];
for(int i=0; i<k; i++)
{
m[i]=random(1)+random(10);
}
stack s1;
for(i=0; i<k; i++)
{
s1.push(m[i]);
}
s1.printOn(cout);
getch();
}