عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 18-05-2010, 08:16 PM
الصورة الرمزية انعم من النواعم

انعم من النواعم انعم من النواعم غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Sep 2009
التخصص: الرياضيات
نوع الدراسة: إنتظام
المستوى: متخرج
الجنس: أنثى
المشاركات: 120
افتراضي آخر واجب حاسب هالترم ..فرجاء لاتبخلو عليآ..


Lab homework-4
Sat.1/6/1431 – Mon. 3/6/1431


The Calculator :

Write a program that do the four-function calculator. The program should ask for a number , then an operator, then other number ( use float). The output might look like the following:

Enter first number, operator, second number : 10 / 5
Answer = 3.333333






وهذا الواجب الثاني ..


Lab homework-5 (bonus ! )
Sat.1/6/1431 – Mon. 3/6/1431


Write a temperature-conversion program that gives the user the option of converting Fahrenheit to Celsius or Celsius to Fahrenheit. Then carry out the conversion. Use the floating-point numbers. The output might look like this :



Type 1 to convert Fahrenheit to Celsius
2 to convert Celsius to Fahrenheit
Enter temperature in Fahrenheit : 70
The temperature in Celsius is 21.111111




ترى مرره مو فاهمه شي علموني وش اسوي بالتفصيل وش المطلوب .. الله يخليكم ياارب
تكفون ساااعدووني .. ربي يساعدكم
* التسليم يوم السبت ضروووووري
رد مع اقتباس