Examlex

Solved

Write the Statement That Will Declare and Assign Two Integer

question 52

Short Answer

Write the statement that will declare and assign two integer variables, salesAmt and costAmt , in a single statement. Assign values of your choice to the variables.


Definitions:

Cash Register

A machine used in retail for calculating and recording sales transactions and storing money.

Cash Sales

Cash sales refer to transactions where payment is made in cash at the time of sale, without deferral.

Petty Cash Account

A small amount of cash kept on hand for minor or incidental expenses, managed through a specified fund.

Purpose

The reason for which something is done or created or for which something exists.

Related Questions