اريد فكرة البرنامج التالى لان الناتج لا يكون لدي مضبوط كما هو معطى في الحل
اريد فقط كيف ينتج الحل وليس البرنامج لانى لما اجربه بالحاسبة لا يكون الناتج صحيح :ah42:
البرنامج هو
Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value using the following formula:
FV = PV[(1 + r)^n - 1]/r
where :
FV = future value of investment
PV = investment amount
r = monthly interest rate
n = number of months
For example, if you enter amount 1000, annual interest rate 3.25%, and number of years 1, the future investment value is 1032.98.
الناتج لدى لا يكون 1032.98
اعتقد اخي لو كتبت موضوعك بقسم البرمجه
ان شاء الله احد الاخوان هناك حيساعدك اكيد بأذن الله
حاول تضع استفسارتك بالمكان المناسب
المفضلات