الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

[مخالف - طلب حل : ]أسئلة في برنامج الجافا

مغلق
بدأه Hewitt في 20 أبريل 2011 · 2 رد · 692 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم ورحمة الله وبركاته ..

أتمنى منكم مساعدتي في حل هذا الأسئلة في برنامج الجافا , وأكون مُمتّن لكم :happy:

. Write a program that reads in two integers typed on the keyboard and outputs their sum, difference, and product

-----------------------------------

An automobile is used for commuting purposes. Write a program that takes as input the distance of the commute in miles, the automobile’s fuel consumption rate in miles per gallon, and the price of a gallon of gas. The program should then output the cost of the commute.

--------------------

. the straight-line method for computing the yearly depreciation in value D for an item is given by the formula

d=(p-s)/y

Where P is the purchase price,

S is the salvage value,

and Y is the number of years the item is used.

Write a program that takes as input the purchase price of an item, the expected number of years of service, and the expected salvage value. The program should then output the yearly depreciation for the item.

--------------------

Write a program that reads in a line of text and then outputs that line of text first in all uppercase letters and then in all lowercase letters

--------------------

Writ a program that determines the change to be dispensed from a vending machine . An item in the machine can cost between 25 cents and a dollar,in 5-cent increments (25,30,35,...90,95 or 100), and the machine accepts only a single dollar bill to pay for the item. I would like the dialog to read: Enter The Price of The Item.

(from 25 cents to a dollar , in 5-cent increments )

45

You bought an item for 45 cents and gave me a dollar,

so your change is

2 quarters

0 dimes, and

1 nickels

معليش إذا هذا مو مكان أسئلتي بس لسى أنا جديد هنا ..

والله يوفق الجميع .

−1
#2

الأخ الكريم/الأخت الكريمة

السلام عليكم ورحمة الله وبركاته.

مرحباً بكم في منتدى الفريق العربي للبرمجة

هذا الموضوع مخالف لقوانين المشاركات، فقرة طلب حل الواجبات والتمارين.

قواعد طرح المشاركات

http://www.arabteam2...showtopic=29343

يرجى وضع محاولاتك كى لا يتم غلق الموضوع من قبل الاشراف

وشكرا

Software Developer
Mahmoudkelany.com


 

#3

الأخ الكريم/الأخت الكريمة

السلام عليكم ورحمة الله وبركاته.

مرحباً بكم في منتدى الفريق العربي للبرمجة

تأسف إدارة المنتدى لغلق الموضوع وذلك لمخالفته قوانين المشاركات، فقرة طلب حل الواجبات والتمارين.

قواعد طرح المشاركات

/index.php?showtopic=29343

شاكرين لكم حُسن تعاونكم

هذا الموضوع مغلق.

مواضيع مشابهة