Identify the compiler errors, and state what is needed to eliminate the error(s).
```
// This is a little program
that calculates a modulus answer.
int main()
{
double x,y,answer;
answer = x%y;
cout << “\n\n answer = << answer;
return 0;
}
```
```
// This is a little program
that calculates a modulus answer.
int main()
{
double x,y,answer;
answer = x%y; //mod only works on ints, declare as ints
cout << “\n\n answer = << answer;
return 0;
}
```
You might also like to view...
The ________ and ________ properties of a PrintPageEventArgs object specifies the top and left margins of the page to be printed.
a) Margin.Top, Margin.Left b) MarginBounds.Top, MarginBounds.Left c) MarginBounds.Height, MarginBounds.Width d) Margin.Top, MarginBounds.Side e) None of the above.
Tight and Expanded are ________ options
Fill in the blank(s) with correct word
When an administrator needs to install or uninstall roles and features to and from an offline VHD file, what PowerShell option can be used?
A. -VHD B. -Offline C. -eq D. -AddVHD
Classes are actually implemented through types in C#.
Answer the following statement true (T) or false (F)