Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
314 B
0
Indexable
Never
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
float l(float z,float c)
{
	float l;
	l = 4 * ((3.14 * z * c + ( z - c)(z - c)) / (z + c));
	return l;
}
int main()
{
	ifstream in("Source.txt");
	int a;
	in >>a;
	for (int i = 0; i < a; i++) 
	{
		cout << l;
	}

}