Questions: 9 913

Answers by our Experts: 9 913

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

Develop a small application in C++ that should allow the user of application to enter the receipt number, sender name, sender address, receiver name, receiver address, shipment fee and parcel weight. After getting required information, generate a shipment receipt and show as summary on screen.

Write a program to determine the entered character is an alphabet or number or special character using if – else-if – else.


Instruction: This program read a character value from the user and displays whether it is an alphabet or number or special character, with a suitable message.



Write a program to implement the Date class which has three data members named day, month and year.

 

1.  Provide a constructor, which takes arguments (you may set values of data members to 0).

 

2.  Write getter and setter functions (input and show functions) for the Date class.

3.  Also write a member function void CompareDates(Date d1, Date d2) which tells which date comes first.


Create a class Circle having a data member radius. The class should be capable of calculating the area. Compare the areas of two circles and also displaying the area of which circle is greater. Make all the necessary function as needed including constructors.

Write a program of static data memeber


consider an array marks[20][5]which stores the marks obtained by 20 students in 5 subjects



write a 2D array to show average of 5 subjects for 20 students


Assume your team is part of a research project. Your team wants to create a simple software that compares two strings, but they're undecided about whetheror not to use pointers. Your group now has the duty of creating or converting your initial code into a pointer-based compare two strings program and determining whether or not pointers are useful in this program.

Example like this:
#include <iostream>
using namespace std;
string convert(string s)
{
for (int i=0; i<s.length() ;i++)
{
 s[i]=toupper (s[i]);
}
return s;
}

int main()
{ 
string string01,string02;
cout<<"String 1 : ";
cin>>string01;
cout<<"String 2 : ";
cin>>string02;

if(convert(string01)==convert(string02))  {
cout<<"Two strings is equal";
}
else{
cout<<"Two strings is not equal";
}
}

Implement a class that realizes linked lists consisting of nodes with integer values.a) bool isEmpty(); b) int length(); returns the number of nodes in the list, which is 0 for the empty list. c) void print(); print the content of all nodes. d) void addAsHead(int i); creates a new node with the integer and adds it to the beginning of the list. e) void addAsTail(int i); creates a new node with the integer and adds it to the end of the list. f) Node find(int i); returns the first node with val i. g) void reverse(); reverses the list. h) int popHead(); returns the value of the head of the list and removes the node, if the list is nonempty, otherwise returns NULL. i) void removeFirst(int i); removes the first node with val i. j) void removeAll(int i); removes all nodes with val i. k) void addAll(List l); appends the list l to the last element of the current list, if the current list is nonempty, or lets the head of the current list point to the first element of l if the current list is empty.


Write a program to enter a number that should be less than 100 and greater than 9.



LATEST TUTORIALS
APPROVED BY CLIENTS