Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
To access CRED programs, one needs to have a credit score of 750 or more.
Given that the present credit score is X, determine if one can access CRED programs or not.
If it is possible to access CRED programs, output YES, otherwise output NO.
The first and only line of input contains a single integer X, the credit score.
Print YES if it is possible to access CRED programs. Otherwise, print NO.
You may print each character of the string in uppercase or lowercase (for example, the strings YeS, yEs, yes and YES will all be treated as identical).
Input: 823
Output: YES
Since 823≥750, it is possible to access CRED programs.
Input: 251
Output: NO
Since 251<750, it is not possible to access CRED programs.
import java.util.*;
import java.lang.*;
import java.io.*;
class Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
InputStreamReader istream = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(istream);
int x = Integer.parseInt(br.readLine());
if(x < 750) System.out.println("NO");
else System.out.println("YES");
}
}
#include <iostream>
using namespace std;
int main() {
// int t; cin>>t; while(t--)
{
int x;
cin>>x;
cout<<(x>=750 ? "YES" : "NO")<<endl;
}
return 0;
}
X=int(input())
if X>=750:
print("YES")
else:
print("NO")
In our experience, we suggest you solve this Credit score CodeChef Solution and gain some new skills from Professionals completely free and we assure you will be worth it.
If you are stuck anywhere between any coding problem, just visit Queslers to get the Credit score CodeChef Solution
I hope this Credit score CodeChef Solution would be useful for you to learn something new from this problem. If it helped you then don’t forget to bookmark our site for more Coding Solutions.
This Problem is intended for audiences of all experiences who are interested in learning about Data Science in a business context; there are no prerequisites.
Keep Learning!
More Coding Solutions >>