JAVA
java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Created by Daniel Teshome
import java.util.Scanner;
public class main{
public static void main(String[] args){
Scanner scanner =new
Scanner(System.in);
int price = scanner.nextInt();
if (price<=12000){
System.out.println("yes");
}
}
}/**can every body help me please 🙏.............
You have $12,000 to buy a car.
You're given a program which takes the price of car as an input.
Task
Output "yes" if the price is lower than or equal to 12,000.
Sample Input
11000
Sample Output
yes*/
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run