the qestion is
Implement a java project to help in the study analysis with the following steps:
• Read from the user the number of cities (minimum 6 cities.)
•For each city: city name and the number of persons (minimum 10 persons) are entered.
• For each person in a city: mass and height should be entered, BMI and BMI category have to be computed and printed.
• For each city, the number of persons and percent ratio in each BMI category should be computed and printed.
• Finally, the program should print a summary report with the following details: o Number of cities. o Total number of persons and percent ratio of persons in each BMI category in all cities. o The name of the best city which has the maximum percent of persons in normal weight BMI category and these people’s percent ratio. o The name of the worst city which has the maximum percent of persons in obese BMI category and these people’s percent ratio. o The name of the city which has the minimum percent of persons in underweight BMI category and these people’s percent ratio.

ps: should not apply arrays in this program and must be simple

The instructions are almost pseudo-code for the actual solution. Each sentence represents a few lines of code, all in the right order.
So start with "Read from the user the number of cities " and code that, then go on to the next line.

If you get stuck come back here, post what you have done so far, explain what's blocking you, and you will get help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.