write a algorithm for company to prepare list of temperature that are not included in range L to R
Answers
Answer:
* Write an algorithm to help the company prepare the list of temperatures that are not included in the range L to R.
*
* Example
* Input
* 7 3 6
* 2 5 1 8 6 9 4
*
* Output
* 2 1 8 9*/
import java.util.Scanner;
public class ClimateToday {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int days = scan.nextInt();
int[] temp = new int[days];
int min = scan.nextInt();
int max = scan.nextInt();
for(int i=0;i<days;i++) {
temp[i] = scan.nextInt();
}
for(int i=0;i<days;i++) {
if(temp[i]<min || temp[i]>max) {
System.out.print(temp[i]+" ");
}
}
}
}
Write the algorithms for the following:
Write an algorithm to order and receive the pizza
https://brainly.in/question/18434012
Write an algorithm to find Area of square? Write few goals of an algorithm.?
https://brainly.in/question/24557323
#SPJ3