Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

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

take 10 integer inputs from user and print the following:


01:postive number


02:negative number


03:odd numbers


04:even numbers all through arra

Create a C++ program that meets the following requirements:
1. It is necessary to read TotalUnits and ratePerUnit.
2. The computeTuition function will return the totalTuition based on the input parameters.There are two parameters: totalUnits and ratePerUnit.
3. Function computeFamilyDiscount – this function computes a 5% family discount.
1. It is necessary to read TotalUnits and ratePerUnit.
2. The computeTuition function will return the totalTuition based on the input parameters.There are two parameters: totalUnits and ratePerUnit.
3. Function computeFamilyDiscount – this function computes a 5% family discount.




a. Create a class called Rectangle with data members: width, length and area. The class should have functions to allow for setting of both length and width, calculate the area, and retrieve the width, length and area. (13 marks)



b. Write a main function that declares an object from the class above, and use the methods in that class to input the length and width, calculate the area and, retrieve and display those values (width, length and area).




A proposed system intends to store the student data (Student Number, Student Name and Phone Number) and also allow for the access of the same data. The data should be hidden and not prone to direct manipulation. The data is read and written using methods.



Required:



(i) Create a class called Student for the above scenario in C++ (6 marks)



(ii) Write a main function in the same C++ program to instantiate an object from the class Student, and allow for student data to be inputted though the keyboard and then display that student data.




Sorting is a process of arranging numbers according to a certain


sequence. Write a C functions to read n integer values, sorting


process and display the arranged numbers.

Make a C ++ program that calculates the sum, mean of a series of numbers.



Example:



-Numbers: 10, 12, 10, 14



-The sum is 46,



-the mean is 11.5




Write a C++ program using a Class function that enables the storing of the following elements in an array as shown: (4 Marks)



-name



- houseno



- street



- city




Create a program like simsimi program with at least 10-20 questions, the program would interact with the user some important details about the user.

  • In math notation, leading zeros are OK, as in 02. What happens if you try this in Python and why?
LATEST TUTORIALS
APPROVED BY CLIENTS