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

WAP to enter a date (dd,mm,yyyy) . Throw exception if the mm value is not in the range

1 to 12. Throw another exception if the dd value is not in the range as per the month entered. Display the message corresponding to the exception thrown. Include catch all block.


Write a program to sum of two numbers, sum of three numbers and sum of four numbers using a single function. Also find the product of two numbers, product of three numbers

and four numbers using a single function.


WAP to create two different files name like roll and name of at least 5 students and print all on screen.



WAP using class template with multiple parameters.

WAP using function template to add two numbers and display result.


Write a program in C/C++ to calculate the value of “ ” by using the series expansion given below:

cosx=1-x2/2! + x^4/4! - x6/6!+.........

Note:

 Evaluate only upto first three terms.

 Also find the value of by using the inbuilt function.

 Compare the results i.e., the result produced by your program and that produced by inbuilt function. Based on comparison, determine error.




LOOPS

Let diff = the absolute value of (num – guess). If diff is 0, then guess is correct. diff is not 0. Then the program outputs the message as follows:



1. If diff is greater than or equal to 50, the program outputs the message indicating that the guess is very high (if guess is greater than num) or very low (if guess is less than num).


2. If diff is greater than or equal to 30 and less than 50, the program outputs the message indicating that the guess is high (if guess is greater than num) or low (if guess is less than num).


3. If diff is greater than or equal to 15 and less than 30, the program outputs the message indicating that the guess is moderately high (if guess is greater than num) or moderately low (if guess is less than num).


4. If diff is greater than 0 and less than 15, the program outputs the message indicating that the guess is somewhat high (if guess is greater than num) or somewhat low (if guess is less than num).


Give the user no more than five tries to guess the number.


BY LOOPS




Write a program that ask the user to type a value and check whether it is prime or not.





Write a C++ program that prints on the screen following diamond shape with given series of numbers.




1




2 3




4 5 6




7 8 9 10




11 12 13 14 15





16 17 18 19




20 21 22




23 24





25








Pls help me with thissss..

Create a C++ program based on the requirements below:

After get a grade from the user, the program will determine what will be the corresponding grade equivalent.

Conversion Table

101 and higher - Out of Range

90 to 100 - Excellent

80 to 89 - Very Good

75 to 79 - Good

74 and below - Failed

 

Sample Output:

Enter Grade: 79

The equivalent of 79 is Good!


LATEST TUTORIALS
APPROVED BY CLIENTS