Help for homework

Factories maximum production capacity is X parts per day , but the manufacturing process every day of the year waster 0-5 % ( random number ) to the extent of their output . Compile a program that calculates how many days factory will produce N details. Display screen, the number of parts produced by day . X and N entered by the user (X < N) .

i am a beginer and i dont realy know have to make it.
If this is homework, it means you should have some basic knowledge of how to write a C++ program. Try starting with int main(). Post the code with the progress you've done so far, so people can help.
Topic archived. No new replies allowed.