Snippet of code


Consider the following snippet of code.
int iResult;
float fResult;
int rResult;
int iNum1 = 25;
int iNum2 = 8;
iResult = iNum1/iNum2;
rResult = iNum2%iNum2;
fResult = (float) iNum1/iNum2;
What values are stored in iResult, rResult and fResult? Explain your answers. 

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Snippet of code
Reference No:- TGS084927

Expected delivery within 24 Hours