04-24-2011, 05:19 PM
respected sir how r u , sir ur method of teaching is good but i have a problem in writing any program , my program doesnt compile n not run on command prompt i bought new labtop i instal devc plus plus is any other program need to instal n in linker, generate debugging information k samny no ka icon likha hua ata hy n wo check ni hota plese tell me how i can write a right program without any errors n i do bsc in double math physics n i dont know about c language n how i write a program , please give me complete solution of this , also when it run on prompt then what i write? problem Statement: Rent A CAR You are required to write a program for RENT A CAR SYSTEM. The basic idea is that user will provide customer information, Car Model, and number of days. Upon this information your program will calculate the Amount for the Car. Rent Amount will be calculated on the Basis of Type of Model he / she is going to take on Rent and of Days on Rent. There are Types of Models available “2009”, “2010” and “2011”. For Model 2009 Minimum Rent per day is Rs. 5000/- for Model “2010” Amount is Rs. 8000/- and for “2011” Amount is Rs. 10,000/- Per Day. please solve my problem n also tell me when i write main(), then it enter in error that int main(). what meane by undeclared. thanks
