Hello! This is Kenneth J Han!

In this post, we are going to calculate the area of a circle given the radius is 3.

## 002. Working with variables!

Problem

Calculate the area of a circle given the radius is 3.

The process of calculation should use the variables - r, PI and area.

The process of calculation should use the variables - r, PI and area.

Pseudocode

r ← 3

PI ← 3.14

area ← r * r * PI

PI ← 3.14

area ← r * r * PI

Answer

28.26

Your source code is on ready to serve!

Python source code answer on Github

Java source code answer on Github

See you on next post!

## 0 κ°μ λκΈ:

## Post a Comment