steves@longs.LANCE.ColoState.EDU (Steve Smith) (04/16/91)
I've been trying to get a parameter passed from scanf(" %d", &maxvalue); what I need to do is pass the numberical value from the input " %d", &maxvalue to set up a scale as: scale = (maxx/maxvalue); where maxvalue is defined as float, and scale is defined in int. The object is to prompt for a maximum numerical value then to use that value to scale an output to screen for drawing simple lines. I'm not getting the proper results. Any help would be appreciated! Thank you SteveS CSU Fort Collins, Colorado Home of the Rams!