اللؤلؤة المنسيه
23-03-2007, 02:38 AM
السلام عليكم ورحمة الله وبركاته
داخله على الله ثم عليكم انا طالبة في قسم الحاسب الآلي مستوى ثاني
يعني لسه توني بقول ياهادي و الحين بدرس لغة السي بلس بلس وعندي سؤال في برنامج انا عملته البرنامج عن حساب مساحة المثلث بس المطلوب
the input must entered in centimeter and then the area should be displayed in meter
وهنا بصراحه خلاص تعبت وربي111113
فااتمنى تساعدون اختكم بأسرع وقت بليز d-m-o-3
#include <iostream.h>
#include <conio.h>
void main()
{
float x;
float y;
float area;
cout<<'\n';
cout<<'\t'<<"Enter base please:";
cin>>x;
cout<<'\n';
cout<<'\n';
cout<<'\t'<<"Enter hight please:";
cin>>y;
cout<<'\n';
area = x/2*y;
cout<<'\t'<<"The area of the trianle is:"<<area ;
getch();
}
...................................
111118
داخله على الله ثم عليكم انا طالبة في قسم الحاسب الآلي مستوى ثاني
يعني لسه توني بقول ياهادي و الحين بدرس لغة السي بلس بلس وعندي سؤال في برنامج انا عملته البرنامج عن حساب مساحة المثلث بس المطلوب
the input must entered in centimeter and then the area should be displayed in meter
وهنا بصراحه خلاص تعبت وربي111113
فااتمنى تساعدون اختكم بأسرع وقت بليز d-m-o-3
#include <iostream.h>
#include <conio.h>
void main()
{
float x;
float y;
float area;
cout<<'\n';
cout<<'\t'<<"Enter base please:";
cin>>x;
cout<<'\n';
cout<<'\n';
cout<<'\t'<<"Enter hight please:";
cin>>y;
cout<<'\n';
area = x/2*y;
cout<<'\t'<<"The area of the trianle is:"<<area ;
getch();
}
...................................
111118