Fill a gardening container with a mixture of two parts potting soil and one part composted organic matter. Place the container where it will receive at least eight hours of direct sunlight each day.
Place a catch basin under the gardening container. The catch basin catches any water that may run through the container so the water does not run off the balcony and onto your neighbor's patio.
Plant the corn 1/2 inch deep and 6 to 9 inches apart. Water the seeds well. Keep the soil moist until the seeds sprout.
Thin the seedlings to 9 inches apart. Add a layer of compost once the stalks are 12 inches tall. Water the corn daily to a depth of 1/4 inch. Vegetables need 1 to 2 inches of water each week.
Harvest the ears of corn when the silk turns brown and the ears are full. Simply pull down on the ear to remove it from the stalk.