kiem tien, kiem tien online, kiem tien truc tuyen, kiem tien tren mang
Thứ Sáu, 21 tháng 2, 2014

BÀI TẬP ĐƯỢC LẤY TỪ QUYỂN SÁCH KỸ THUẬT LẬP TRÌNH C 
CỦA THẦY DƯƠNG THIÊN TỨ

Video: mình đã hướng dẫn và giải thích cụ thể trong video này

Mã lệnh:


#include <stdio.h>
#include <conio.h>
#include <math.h>
#define PI 3.141593

int
main(){
float
S;
printf("Moi ban nhap dien tich mat cau S = ");
scanf("%f",&S);

float
R = sqrt(S/(4*PI));
float
V = (4*PI*R*R*R)/3;
printf("The tich mat cau S = %.3f",V);
return
0;
}

Mã nguồn: dành cho các bạn không thích gõ mã lệnh, Click here
21 Feb 2014

0 nhận xét:

Đăng nhận xét

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

domain, domain name, premium domain name for sales

Bài đăng phổ biến