c++ assignment inches to cm conversion table

A for loop would be a good choice in this case.
To give you a head start:

#Take the smallest and largest numbers in input
for(float i = smallest ; i <= largest ; i = i+6 ){
    #do your calculations
    #Print out the number , endline
}

Leave a Comment