Demo entry 6645489

myC

   

Submitted by anonymous on Oct 10, 2017 at 15:43
Language: C. Code size: 150 Bytes.

#include <stdio.h>

double square(double n)
{
	return (n*n);
}
void main()
{ 
	double n;
	scanf("%lf",&n);
	printf("%3.2lf",square(n));
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).