تكفوون سااااعدوني شكولا ماقصرت حلتوو ليا في قسم علوم الحاسب بأداة السويتش والاستاذه تبغاه باداة if statment
تكفووووووووووون بووكراااا التسلييم
هذا الواجب الاول
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
وهذا الواجب الثاني
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
الله يوفقكم يااارب..