import java.util.Scanner;
public class MyClass1 {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int smallest = 0, largest = 0, num, count = 0;
while (true){
System.out.println("Enter a number (-1 to quit): ");
num = scan.nextInt();
if (num == -1){
System.exit(0);
}
else if (num < 0){
System.out.println("Please enter a positive number!");
}
else{
if (num > largest){
largest = num;
}
if (num < smallest || count == 0){
smallest = num;
count++;
}
System.out.println("Smallest # so far: "+smallest);
System.out.println("Largest # so far: "+largest);
}
}
}
}
I hope this helps! If you have any other questions, I'll do my best to answer them.
Answer:
Answer to the following question is CoC(chain of custody
).
Explanation:
- CoC(chain of custody
) is the legal document and it is the evidence that is handled during an investigation of the case.
- In the criminal trials, prosecution must be typically proved that all the evidences is handled according the documented and unbroken CoC.
- In the court, CoC(chain of custody) documentation has been presented by prosecutions to prove the evidence, related to an alleged crimes, and it has been in possession of defendant.
Lol morons like to give lessons
Answer:
The cost to make one tie is approximately £4.79
Explanation:
The details of the dimensions of the fabric needed to make the school tie are;
The length of the required fabric = 135 cm
The width of the fabric for the tie = 9 cm
The width of a roll of fabric when sold = 90 mm = 9 cm
The cost of the fabric per meter = £3.55
The width of the roll of fabric = The width of the fabric material required to make a tie
1 meter = 100 cm
The cost of 1 m (100 cm) of fabric = £3.55
Therefore;
The cost of the 135 cm of the fabric required for the tie, <em>c</em>, is found as follows;
c = £3.55 × 135/100 = £4.7925
The cost of the fabric required to make one tie giving the answer to two decimal place, c ≈ £4.79
Clicking the insert function box on the formula bar <span>opens the insert function dialog box shown in the accompanying figure.</span>