pSkpt

Dairenin Alanı

Apr 23rd, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include <stdio.h>
  2. main(){
  3.  
  4.     float pi = 3.14;
  5.     int yaricap;
  6.     float alan;
  7.    
  8.     printf("Yaricapi giriniz :");
  9.     scanf("%d",&yaricap);
  10.    
  11.     alan = (float)(pi*yaricap*yaricap);
  12.    
  13.     printf("%.2f",alan);
  14.    
  15.  
  16.     getchar();
  17. }
Advertisement
Add Comment
Please, Sign In to add comment