In this assignment, you develop a program to produce a current ratio report.
The current ratio is used in accounting to measure a company's financial condition. To compute the ratio, one divides the company's current assets by the current liabilities. Here is a sample set of data (2010 to 2012). The first line is the company name, appearing in column one (a maximum of 30 characters in length). In each subsequent line, the first number (starting in column 1) represents the current assets and the second number (starting in column 10) represents current liabilities. Here is some sample data to use (no blank line appears in the data file at the beginning)::
IMPORTANT NOTE: Make sure to test the program with different values of different sizes. In all cases, the columns should still line up properly WITHOUT the need to alter the program code. For instance, if you did things correctly, then if you replaced the 9100 with 39100, things should still line up properly.
Don't go crazy worrying about numbers at the very maximum and how they'll fit. What's more important is that you select the correct data type for your variables, and that reasonably sized numbers (such as the sample data) work.
3 freelancers estão ofertando em média $27 para esse trabalho
hi, dear. i read your description. i have some experiences of c/c++ programming in 7+ years. you can discuss your project with me more detail via chat. please contact me. best regards.