Json File User types "Inferno" &/or "Eternal" &/or "1000000" ..... Program searches through json file and displays the m

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Json File User types "Inferno" &/or "Eternal" &/or "1000000" ..... Program searches through json file and displays the m

Post by answerhappygod »

Json File
User types "Inferno" &/or "Eternal" &/or "1000000".....
Program searches through json file and displaysthe matching information such as:
Your superhero is : Eternal Flame
age: 1000000
secret Identity: Unknown
powers: [ "Immortality", "Heat Immunity", "Inferno","Teleportation", "Interdimensional travel" ]
If user types in word that is not in file such as "Roses",program should output an error message.
The program should be able to take in multiple user inputs andproduce the correct output.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply