Povrsina kvadrata

by draska on February 8th, 2010

HEHEHE

Syntax: C
Show lines - Hide lines - Show in textbox - Download
#include<stdio.h>
#include<math.h>
 
void povrsina(int a)
	{
		int c=pow(a,2);
		printf("Povrsina je = %d \n",c);
	}
int main()
	{
		int a;
		printf("Unesi stranicu a = ");
		scanf("%d",&a);
		povrsina(a);
	}

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS