2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
6th August 2014, 04:09 PM
Super Moderator
 
Join Date: Apr 2013
Re: CBSE 12th C++ Subject Solved Papers

Here I am giving you question paper for CBSE board of education 12th C++ Subject examination.

(b) Define a class in C++ with following description: 4 Private Members
• A data member Flight number of type integer
• A data member Destination of type string
• A data member Distance of type float
• A data member Fuel of type float

• A member function CALFUEL() to calculate the value of Fuel as per the following criteria Distance Fuel <=1000 500 more than 1000 and <=2000 1100 more than 2000 2200 Public Members

• A function FEEDINFO() to allow user to enter values for Flight Number, Destination, Distance & call function CALFUEL() to calculate the quantity of Fuel
• A function SHOWINFO() to allow user to view the content of all the data members

CBSE 12th C++ Subject paper







in a file attached with it.
Attached Files
File Type: pdf CBSE 12th C++ Subject paper.pdf (589.5 KB, 106 views)


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 12:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4