Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

CREATE A C++ PROGRAM THAT DIPLSYS THE NAME OF THE MONTH IN A YEAR BASED ON THE NUMBER ENTERED VIA THE KEYBOARD USING IF/ELSE IF


Interpret the following c++ program



Class students



}



Long int rollno:



Private:



Int age;



Char sex;



Float height ;



Public:



Student();



Void getdata();



Void disinfo(void);



Int process( int age,int sex);



};







Write a class student that contains the attribute teacher name, age and address. It also contains member function to input and display its attribute. Write another class teacher Write another class Writer that contains the attributes writer name, address and number of books written by him. It also contains member function to input and display its attributes. Write a third class Scholar that inherits both student and teacher classes.

Develop a C++ Application for Compound Interest Calculations. A person invests $1000.00 in a savings account yielding 5 percent interest. Assuming that all interest is left on deposit in the account, calculate and print the amount of money in the account at the end of each year for 10 years. Use the following formula for determining these amounts: a = p ( 1 + r )n where p is the original amount invested (i.e., the principal), r is the annual interest rate, n is the number of years and a is the amount on deposit at the end of the n th year.


Triple Slash by CodeChum Admin Samurais are so awesome! I'd like to imitate their amazing sword skills some time but I just don't have the courage to harm myself, so I'd just like to print out three forward slashes (\) to digitally imitate the samurai's triple slash skill. Haha!  Sounds easy, right? Then code it now!


John Schmidt works as the data entry operator in New York. His daily activity includes assigning vehicle number for the new vehicles that enter the city. The vehicle number has the following format: First two letters represent the state Next one/two letter represent the series number (A to Z and AA to ZZ) Last 5 digits represent the Vehicle number When the vehicle number reached 99999, the next series will start from 00001. As there is a huge amount of vehicle movement now days, he wants to automate the process. Help john to auto generate vehicle numbers given the starting vehicle number.

The Math(cmath) library allows you to calculate trigonometric function cos(x). You can execute this method by writing cos(x) for some expression x of type double. Using properties of a Maclaurin series or Taylor series, you can approximate the function cos(x) using the following formula: cos(� ≈ ∑ (−1)���(2�! ��0 =1− � 2!+ � 4!− � 6!+ � 8!− ..... ��2� Write your own approximation of cos(x) without using any library methods (such as pow( ) etc.). Your program should take x (in radians) and an as input. You should make two functions calcTerm( ) and sumTerms( ) to calculate the value of cos(x). calcTerm( ) function will compute nth term in the sequence. It should take x and term number as arguments and the return value of the term. sumTerms( ) takes a single argument term value and should be used to calculate the sum of all terms. Finally, your program will have a function testFunction( ), you will call it from main to verify whether your function is working correctly or not.

) Write a program that uses a class Employee to display Employee details. The class should

include the following members.

Data members :Empno, Empnname, basic pay, house allowance, medical allowance.

Member Function:to read employee details,to calculate gross salary and net salary.

Gross salary=basic+house all + med allowance

Net salary=gross salary – tax


A character array is created as follows


Char*cpr =new char [20];


How could we delete the memory create using the operator delete

wap to show exception using try throw and catch block.


LATEST TUTORIALS
APPROVED BY CLIENTS