Examlex

Solved

What Will Be the Result of Running the Following Code

question 12

Multiple Choice

What will be the result of running the following code fragment?
Int year = 0;
Double rate = 5;
Double principal = 10000;
Double interest = 0;
While (year < 10)
{
Interest = (principal * year * rate) / 100;
System.out.println("Interest " + interest) ;
}


Definitions:

Period Cost

Costs that are expensed in the period they are incurred and are not directly tied to production, including selling, general, and administrative expenses.

Indirect Labor

Labor costs associated with the production process but not directly working on the product, such as supervisors, maintenance, and cleaning staff.

Product Cost

The total costs associated with producing a product, including direct materials, direct labor, and manufacturing overhead.

Period Cost

Expenses incurred by a business that are not directly tied to the production process, such as marketing, administration, and sales costs, which are expensed in the period in which they occur.

Related Questions