谁能帮小弟解答一道C语言题目 Write a program that asks the user to type in two integer values at the terminal.The first number is the amount the user if going to borrow and the second is the monthly amount he can afford to pay.The loan in

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 23:16:23
谁能帮小弟解答一道C语言题目Writeaprogramthataskstheusertotypeintwointegervaluesattheterminal.Thefirstnumberisthea

谁能帮小弟解答一道C语言题目 Write a program that asks the user to type in two integer values at the terminal.The first number is the amount the user if going to borrow and the second is the monthly amount he can afford to pay.The loan in
谁能帮小弟解答一道C语言题目
Write a program that asks the user to type in two integer values at the terminal.The first number is the amount the user if going to borrow and the second is the monthly amount he can afford to pay.The loan interest rate is set to 18% per year (or 1.5% per month).The monthly payment covers the interest first and whatever is left is used to pay the remaining debt.
Your program should return the time (in years and or months) it will take to pay the loan.If the payment does not cover the interest,it should indicate so.See examples below
$1000 and $40 repayment should return "it will take 2 years and 8 months to pay the loan"
$1000 and $10 repayment should return "the monthly payment does not cover the loan"

谁能帮小弟解答一道C语言题目 Write a program that asks the user to type in two integer values at the terminal.The first number is the amount the user if going to borrow and the second is the monthly amount he can afford to pay.The loan in
英语学的不好,把题目翻译成中文

一道简单的 C语言题目 小弟在线等Write a C program that produces the following outputCounting down54321Liftoff! 谁能帮小弟解答一道C语言题目 小弟是菜鸟 Write a program that takes an integer keyed in from the terminal and extracts and displays each digit of the integer in English.So,if the user types in 932,the program should display:nine three 谁能帮小弟解答一道C语言题目 Write a program that asks the user to type in two integer values at the terminal.The first number is the amount the user if going to borrow and the second is the monthly amount he can afford to pay.The loan in 一道有点难度的C语言题目 小弟在线等 急啊A supermarket conveyor belt holds a range of groceries. The price of each product is [ 60 120 5 13 ] ; while the numbers of each product are [ 3 4 2 1 ]. Write a C program that calculates an 一道C语言的题目求代码 一道C语言题目,急求… 求一道C语言题目 求 C语言题目一道求解#include C语言题目,求解答并解释,谢谢 C语言题目,求高手解答我需要正确答案 谢谢 C语言 用循环结构输出下列图形1123123451234567小弟在此跪求高手解答 一道题目望解答 一道用C语言编程计算积分的题目,求大神解答!可追分.一道用C语言编程的计算积分题目.用C语言进行3.14和3.15的数值计算,3.14中求使式子等于0 的x.其中n1是整数,其余都是分数.(0<p<a1/b1,X>=a C语言中Write-Data()是什么意思 求一道 c语言 :) C语言运算题目 C语言题目选择 C语言改错题目