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

Write a program to print list of the numbers from 5 to 10 and their squares


Program all natural number from 1 to n using while loop

Write a program on ticket purchasing discount in cinemal hall

1.      Analyze and debug the following program then display the output.

 

 

A.

#include <iostream>

using namespace std:

 

int main() {

 int i = 0;

 While (i < 5) {

   cout << i << "\n";

   i++;

 }

 return 0;

}

 

 

  B. 

#include <iostream>

using namespace std;

 

int main() {

            int day = 4;

          switch (Day) {

case1:

          cout << "Monday";

          break;

          case2:

          cout << "Tuesday";

          break:

            case3:

           cout << "Wednesday";

          break:

            case4:

           cout << "Thursday";

          break:

          case5:

          cout << "Friday";

           break:

          case6:

          cout << "Saturday";

           break:

          case7:

          cout << "Sunday";

            break:

 }

            return 0;

}

Write a c++ program to declare classes namely Customer, Account, RBI (Base Class) and derived classes (SBI and ICICI) and do the following: 1. Take the value of bank name and interest rate from user. 2. Make function to calculate the homeloan rate HomeloanRate(SBI)= RBIRate+0.5 HomeloanRate(ICICI)= RBIRate+1.5 3. Display the rate based on bank name entered by user. (note:Make use of virtual function here)


Write a program that connects singly linked list with a doubly linked list

Define a class Point to represent the x, y and z coordinates of a 3D Point. Overload the == and! = operators as friend functions to compare two point objects. 



4. Write a C program to check whether the given year is a Lear Year or not. If leaf year print the year in the reverse order otherwise print its sum of cube roots of digits of year.

Implement the following binary search tree operations:

1. BFS

2. DFS

3. Addition

4. Deletion


displays all the following students’ attributes




1 Student Name




2 ID




3 Gender




4 Group




5 Score




6 Grade

LATEST TUTORIALS
APPROVED BY CLIENTS