Demo entry 2704053

rectangle area

   

Submitted by jinwoo on Sep 18, 2015 at 17:10
Language: C. Code size: 229 Bytes.

#include <stdio.h>
int main()
{
	int area, width, length; // area: 넓이, width: 가로, length: 세로를 나타내는 변수

	printf("입력: ");
	scanf("%d %d", &width, &length);
	area = width * length;
	printf("넓이: %d\n", area);
	return 0;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).