php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs201 solution idea on 15th April 2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#5
Here is the Compile code And all errors fixed:-
PHP Code:
#include<conio.h>
#include<iostream.h>
void rent(void);
main()
{

rent();

getch();
}
void rent(void)
{
char option,customer_name[15],car_no[7];
int carmodel,days,rentamount,chargamount;
cout<<"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$"<<endl;
cout<<"please provide customer name:"<<endl;
cin>>customer_name;
cout<<"please provide car model description\n Enter 'A' for model 2009.\nEnter 'B' for model 2010.\nEnter 'C' for model 2011.\n"<<endl;
cin>>option;
cout<<"please provide car No:"<<endl;
cin>>car_no;
cout<<"please provide number of Day's"<<endl;
cin>>days;
cout<<"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$"<<endl;
if(
option=='A')
{
carmodel=2009;
chargamount=5000;
cout<<"customer name: "<<customer_name<<endl;
cout<<"Car Model : "<<carmodel<<endl;
cout<<"Number of days: "<<days<<endl;
cout<<"Car No. : "<<car_no<<endl;
rentamount=chargamount*days;
cout<<"Your Rental Amount is: "<<rentamount<<endl;

}
else if(
option=='B')
{
carmodel=2010;
chargamount=8000;
cout<<"customer name: "<<customer_name<<endl;
cout<<"Car Model : "<<carmodel<<endl;
cout<<"Number of days: "<<days<<endl;
cout<<"Car No. : "<<car_no<<endl;
rentamount=chargamount*days;
cout<<"Your Rental Amount is: "<<rentamount<<endl;
}
else if(
option=='C')
{
carmodel=2011;
chargamount=10000;
cout<<"customer name: "<<customer_name<<endl;
cout<<"Car Model : "<<carmodel<<endl;
cout<<"Number of days: "<<days<<endl;
cout<<"Car No. : "<<car_no<<endl;
rentamount=chargamount*days;
cout<<"Your Rental Amount is: "<<rentamount<<endl;
}
else
cout<<"You must be enter only A,B,C Right Now"<<endl;
} 
Reply


Messages In This Thread
cs201 solution idea on 15th April 2011 - by Xpert - 04-16-2011, 03:02 PM
cs201 solution idea on 15th April 2011 - by allahwahid - 04-18-2011, 04:13 PM
cs201 solution idea on 15th April 2011 - by abira - 04-18-2011, 05:57 PM
cs201 solution idea on 15th April 2011 - by abira - 04-18-2011, 05:57 PM
cs201 solution idea on 15th April 2011 - by Xpert - 04-18-2011, 07:03 PM
cs201 solution idea on 15th April 2011 - by Xpert - 04-19-2011, 04:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  get your solution in 24 hours 2020 Xpert 0 8,869 10-11-2020, 10:09 PM
Last Post: Xpert
  get your solution in 24 hours 2020 Xpert 0 3,236 10-11-2020, 10:09 PM
Last Post: Xpert
  vuhelp.com forum is providing solution of virutal university students in 24 hour 2014 Xpert 3 2,546 11-17-2014, 06:11 PM
Last Post: leo861323
  GDB of FIN730 - Investment Analysis & Portfolio Management (Need Solution) Muhammad Husnain Mughal 1 1,926 05-15-2014, 08:21 PM
Last Post: hondasr8
  GDB of FIN723 - Taxation Management (Need Solution) Muhammad Husnain Mughal 1 2,975 05-07-2014, 04:09 AM
Last Post: Vuhelper
  Need ACC501 - Business Finance Assignment No 2 Solution. Umar Abbas 2 4,297 02-07-2014, 08:23 PM
Last Post: Umar Abbas
  operating assinment solution help nenanena 9 6,190 08-18-2013, 03:53 AM
Last Post: Xpert
  Need Assignments solution detailer 2 3,210 11-21-2012, 02:52 PM
Last Post: Vuhelper
  need fall 2012 mgt111 gdb solution urgently eshal ch 1 3,123 11-16-2012, 12:16 AM
Last Post: Vuhelper
  Urgent need Cs201 first assignmt solution r_traveler 4 2,325 11-07-2012, 01:47 AM
Last Post: Xpert

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