Thursday, May 10, 2012

Expression Evaluation: Area of a Circle

Hello Guys!!! How are you? Hope, all of you all well by the grace of Almighty ALLAH. Today we learn how to find out the area of a circle.

Generally we know that the area of a circle = 3.1416(pi) x radius x radius. Now we can write a C programming code by using this formula. Let's look at the program:













In this code, the ASCII character of pi and square is used. Their ASCII values are 227 & 253.

Thank you all..:)

2 comments:

  1. where did 227 & 253 came from

    ReplyDelete
    Replies
    1. The ASCII value of pi is 227 & the ASCII value of square is 253.

      Delete