LD
Size: a a a
LD
TS
TS
LD
UG
UG
void CalcFunc(double x, double E, int max_n, System::Windows::Forms::ListBox^ listBox)
{
int n = 1;
double a = 1;
while(abs(a) < E && n < max_n)
{
listBox->Items->Add(String::Format("{0,15}\t\t{1,15}", n, a));
a = a * (x*x / n);
n++;
}
}
LD
UG
void CalcFunc(double x, double E, int max_n, System::Windows::Forms::ListBox^ listBox)
{
int n = 1;
double a = 1;
while(abs(a) < E && n < max_n)
{
listBox->Items->Add(String::Format("{0,15}\t\t{1,15}", n, a));
a = a * (x*x / n);
n++;
}
}
TS
LD
LD
UG
UG
System::String::Format
LD
LD
UG