void minMax(int a, int b, int c, int*big, int*small)
{
if(a>b && a >c){
*big = a;
if(b>c)
*small = c;
else
*small = b;
}
else if (b>a && b>c){
*big = b;
if(a>c)
*small = c;
else
*small = a;
}
else{
*big = c;
if(a>b)
*small = b;
else
*small = a;
}
}
Answer:
The four-step process of fetch, decode, execute, and store. Type of memory where the contents of this are not erased when the computer is turned off.
Answer:
C.A subscript cannot be an expression
Explanation:
The option C (A subscript cannot be an expression) is false
It may be an image that is on the internet, without a caption visually impaired will not understand
/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
class NestedLoops {
public static void main (String [] args) {
int numRows = 4;
int numCols = 5;
int i,j;
char ch = 'A';
// Note: You'll need to declare more variables
/* Your solution goes here */
for ( i = 0; i < numRows; i++) { // Outer loop runs for numRows times
for ( j = 0; j < numCols; j++) { // Inner loop runs for numCols times
System.out.print(i+1);
System.out.print((char)(ch+j));
System.out.print(" ");
}
}
System.out.println("");
return;
}
}