Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Bse Courswork One

Bse Courswork One

Ratings: (0)|Views: 1|Likes:
Published by Everest Walugembe
example questions in programming
example questions in programming

More info:

Published by: Everest Walugembe on Aug 06, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





A client approaches you with the following problem. He owns a nursery school andnormally finds problems in planning due to changing conditions of the economy. Headds that the prices of maize flour fluctuate a lot The school has three classes ( baby (>3 years), middle(>4 years) and top (>5years)classes). But he can admit students who are under that specified ages in theclasses they have applied for. The ratio of student to teacher must be 30:1 for theunder age students and 60:1 for those within the age bracket. If either the number of under age students or that of within age students for a certain class is less than half the required number, they should join the other group instead of getting a stream of their own.He adds that a kilo of maize flour can serve 4 students a day i.e. (lunch, breakfast andsupper). There are 90 days in a term. To solve the client’s problem, use cprogramming to do the followinga)Use makefiles while separating different functions in different c filesb)The application should do the followingi.Ask user to enter the current price of maizeii.Enter the names of classesiii.Enter number of students with the corresponding classes that they wantto get admittediv.Show the number of streams per class plus the number of students whowill be in that classv.Print the amount of money that will be required to buy maize flour forthe whole termvi.Print the number of teachers that will be required
Please note the following
1.Groups should not exceed 10 people.2.Duplicate work will be cancelled3.Failure to defend your work when asked during the presentation will lead tobeing cancelled from the group4.Failure to meet the deadline means you were not able to do the work.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->