Yeah i have all that, i need to find R1, R2, and C1 by giving Frequency, and Pulse Width (Time high?). i've narrowed it down to solve an equation for two variables, Time Low, then figure the rest.
Can you make some reasonable assumptions based on what sort of components are available. eg: spec'ing a 434 uF cap or a 1.72 k Ohm resitor would be difficult to actually implement anyways.
Your teacher wants you to take in Freq and pulse width. I would interpret that as enter Hz, then enter a number representing pulse time high. Of which the easiest way I am aware of is as a percentage where 0 % is always low and 100% is always on. So for 0 > pulse width < 100 would represent what percentage of the period is on.
Can you provide some more of the constraints for your design? Is your teacher requiring that your program provide component values for a specific 555 chip or generic values. Can you use integer frequency or will you also need to provide values for decimal freq and integer or decimal duty cycle?