Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write in Java Java Age Counting In the Java file, write a program to perform a GET request on the route https://coderbyte.com/api/challenges/json/age-counting which contains a

Write in Java

Java Age Counting

In the Java file, write a program to perform a GET request on the route https://coderbyte.com/api/challenges/json/age-counting which contains a data key and the value is a string which contains items in the format: key=STRING, age=INTEGER. Your goal is to count how many items exist that have an age equal to or greater than 50, and print this final value. Example Input {"data":"key=IAfpK, age=58, key=WNVdi, age=64, key=jp9zt, age=47"} Example Output 2

Example Output with ChallengeToken EMPTY

Once your function is working, take the final output string and remove any characters (case-insensitive) from it that appear in your ChallengeToken. If the new final string is empty, return the string EMPTY.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

More Books

Students also viewed these Programming questions

Question

48. Verify the formula given for the Pi of the M/M/k.

Answered: 1 week ago

Question

46. In the G/M/1 model if G is exponential with rate show that = /.

Answered: 1 week ago