0
Please i need help with this question, I'm new to C++ language. I got stranded at the 4th and 5th line.
Suppose savings and expenditure are variables of type double. Write an if else statement that request two inputs from a user and output "Solvent"; decrease the value of savings by the value of expenditure and set the value of expenditure to zero, provided savings is at least greater than expenditure. If, however savings is less than expenditure, the program should output the word "Bankrupt".
1 ответ
+ 1
When should it give the output solvent? What condition?