c++ function to calculate your sock size aa your weight in pound divided by height in inches and the result of that calculation nultiplied by by 3.1

I see no question here but maybe you have some homework assignment or other and decided not to invest any time into making a good question or discussion. Besides that read about homework questions at https://www.daniweb.com/welcome/rules

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.