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

Do a C++ program using nested loops to create the following report:Prompt the user for number of rows and columns and create a table with the number of rows and columns that was given by the end user and repeat this process by asking the user if the user wants to continue. If the user says Y or y you’ll clear the screen and start all over again and if the user enters N or n you’ll stop the loop and output the “Thank you” note.


Write the definition of a class Counter containing:

  • An instance <u>variable</u> named counter of type int.
  • A constructor that takes one int argument and assigns its value to counter
  • A method named increment that adds one to counter. It does not take parameters or return a value.
  • A method named decrement that subtracts one from counter. It also does not take parameters or return a value.
  • A method named get_value that returns the value of the instance <u>variable</u> counter.

Write a rock paper scissors game


Calculate the median and mode for the following data set: 

Data Set = 2, 9, 10, 4, 8, 4, 12 


 Calculate the mean for the following data set: 

Data Set = 2, 9, 10, 4, 8, 4, 12




Create a class Armstrong and include startnumber and endnumber as data member and aslo include member function findArmstrongNumbers() to find all the Armstrong numbers between startnumber and endnumber. If sum of cubes of each digit of the number is equal to the number itself, then the number is called an Armstrong number.


Define a class TEST with the following description:


Private Members


TestCode of type integer Description of type string NoCandidate of type integer CenterReqd (number of centers required) of type integer A member function CALCNTR() to calculate and return the number of centers as (NoCandidates/100+1)


Public Members


SCHEDULE() A function SCHEDULE() to allow user to enter values for TestCode, Description, NoCandidate & call function CALCNTR() to calculate the number of Centres. DISPTEST() A function DISPTEST() to allow user to view the content of all the data members


Declare a class Fixed_Deposit with member variables are principal, rate and time, and member functions are MaturityAmount() to calculate the compound interest and maturity amount, and display() to print the total maturity amount(principal+compound interest).


Write a C++ Program to sort array of integers. Get the user input and display it in the sorted order.


Display students details in the following format using manipulats


Rollno Name Marks average


------ --- ---- -------


1 Ram 490 98.17


2 Kala 450 96.23


LATEST TUTORIALS
APPROVED BY CLIENTS