السلام عليكم ورحمة الله وبركاته
ندخل في الموضوع
عندي ذا الواجب في البرمجه
http://
">
وهذا الكود تبعي بس موارضي يطلع معي الناتج
كود:
public h() {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
float a = 3;
float b = 5;
float c = 7;
double s ;
s = 2/(a+b+c);
double area;
area=Math.sqrt((s-a)*(s-b)*(s-c));
System.out.print("The valuo s "+s) \n;
System.out.print("The area"+area);
فـ ياليت حدا يساعدني