php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs201 assignment no 1 April 12 Spring 2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
[FONT=&quot] [/FONT]
[FONT=&quot]Problem Statement: Rent A CAR [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]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. [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Detailed Description:[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]1. [/FONT][FONT=&quot]The program should display[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Please provide customer Name:[/FONT]
[FONT=&quot]Please provide Car Model.[/FONT]
[FONT=&quot] Enter ‘A’ for Model 2009.[/FONT]
[FONT=&quot] Enter ‘B’ for Model 2010.[/FONT]
[FONT=&quot] Enter ‘C’ for Model 2011.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Then your program should take these inputs, [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]2. [/FONT][FONT=&quot]Depending upon the choices that user has entered, your program will further display the prompt [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]3. [/FONT][FONT=&quot]If user has entered Car Model, then your program should prompt the user to enter the Car Number and No. of Days for which car is required. [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] -----------------------------------------------------------------[/FONT]
[FONT=&quot] Model Name : [/FONT]
[FONT=&quot] Number of Days:[/FONT]
[FONT=&quot] -----------------------------------------------------------------[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]4. [/FONT][FONT=&quot]After getting all this information, now write a function which will calculate rental/charged amount on the basis of this information. [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] To calculate rental/charged amount we will use this formula: [/FONT]
[FONT=&quot] Rental Amount = charged amount * number of days [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Charged amount will be different for different Car Models as described above.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]After calculating Rent Amount for Car display it on the screen.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Sample Output[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Please provide customer Name: Ahsan[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Please provide Car Model Description.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] Enter ‘A’ for Model 2009.[/FONT]
[FONT=&quot] Enter ‘B’ for Model 2010.[/FONT]
[FONT=&quot] Enter ‘C’ for Model 2011[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] Please provide following information:[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Car No. : LWQ234 [/FONT]
[FONT=&quot]Number of day’s: 3[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Final output should be like this[/FONT][FONT=&quot]:[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] -----------------------------------------------------------------[/FONT]
[FONT=&quot] Customer Name: Ahsan[/FONT]
[FONT=&quot] Car Model : 2009 [/FONT]
[FONT=&quot] Car No. : LWQ234[/FONT]
[FONT=&quot] Number of days: 03[/FONT]
[FONT=&quot] Your Rental Amount is: 15000 [/FONT]
[FONT=&quot] -----------------------------------------------------------------[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Note:[/FONT]
[FONT=&quot]Your assignment must be uploaded/submitted on or before April 18, 2011. Make it sure to submit only Cpp file of your Assignment. Assignment in notepad format or MS Word format will not be accepted.[/FONT]
[FONT=&quot] [/FONT]


Attached Files
.doc   Spring 2011_CS201_1.doc (Size: 172 KB / Downloads: 757)
Reply


Messages In This Thread
cs201 assignment no 1 April 12 Spring 2011 - by Xpert - 04-13-2011, 04:29 AM
cs201 assignment no 1 April 12 Spring 2011 - by gm mughal - 04-18-2011, 03:02 AM
cs201 assignment no 1 April 12 Spring 2011 - by Xpert - 04-19-2011, 02:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,374 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,962 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,992 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,233 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,300 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 2,028 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,718 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,856 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,755 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,856 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support