Differentiate between function overriding and function overloading.
If a program can be written using function overloading and using default arguments,which one is preferable?Explain giving example.
Write overloaded functions to find the area of scalene,isosceles and equilateral triangle.
Area of scalene triangle = √(s(s-a)(a-b)(s-c))
Area of isosceles triangle = ½[√(a2 − b2 ⁄4) × b]
Area of equilateral triangle= (√3/4)a2
Create a two-dimensional array of type double to contain the three different SD Marks (JD521, PRG521, and IP521) for six different students. A single array of type String must be used to store the student names (Maxwell, Carl, Gerhard, Paul, James, and Cena).
Allow a user to enter in a number, ranging from 1 to 6, which will represent the student position in the table MCSD max and present the marks for each respecting module. The program can only stop when the user enter a number greater than 6.
Printout the student name including the JD521, PRG521, and IP521 max, the total of marks and the average of all marks. Use a condition statement to decide that the student has passed or not (Pass rate is 70).
Student name JD521 PRG521 IPG521
Maxwell 80 65 70
Carl 95 70 65
Gerhard 87 80 73
Paul 65 45 60
James 45 87 65
I used Netbeans to do my project
Student can Update, Add, Remove a issue
The added issue need to notify admin to send a reply ,notification either can be shown in database(mysql) with student name and nic , or send a notification to email but if send email is not good because student can modify update anytime so,i think its easy to use db because admin can look for messagers with name ,nic message. can anyone code for this requirement.
Thank you
Write a program to print all the Armstrong numbers in the given range A to B(including A and B). An N-digit number is an Armstrong number if the number equals the sum of the Nth power of its digits.
Write a c program to search page 11 in a book where you don’t visit every page from 1 to 50. You open any random page in the book and check its page number. If the current page number is greater than 11, then 11 is on the left side of the current page.
Create a class which stores a string and its length as data members. Include all the constructors. Include a member function to join two strings and display the
concatenated string.
Write a program to create a class that stores name and subject marks of two students. Using dynamic constructor allocate name and subject marks. Display the details along with average mark.
Write a program in which you have to find the 'volume and Area of 5 Rooms' by using class and objects