Question
(Easier option) Thai kickboxing . Write a program KickBoxer.java that takes an integer weight w as an input and prints the corresponding kickboxing weight-class according
(Easier option) Thai kickboxing. Write a program KickBoxer.java that takes an integer weight w as an input and prints the corresponding kickboxing weight-class according to the table below.
weight class from to(not inclusive) ------------------------------------ Fly Weight 0 112 Super Fly Weight 112 115 Bantam Weight", 115 118 Super Bantam Weight 118 122 Feather Weight 122 126 Super Feather Weight 126 130 Light Weight 130 135 Super Light Weight 135 140 Welter Weight 140 147 Super Welter Weight 147 154 Middle Weight 154 160 Super Middle Weight 160 167 Light Heavy Weight 167 174 Super Light Heavy Weight 174 183 Cruiser Weight 183 189 Super Cruiser Weight 189 198 Heavy Weight 198 209 Super Heavy Weight 209 Use an integer array to store the weight limits and a string array to store the weight categories (ranging from Flyweight to Super Heavyweight, you may use acronyms to store the weight class). In main method of your program,
Signature of the method is like: public String qualifyWeight(String [] wc, int [] limits, int weight)
|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started