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 the following program in c++.


Combine your first and second name and pick only the first five characters of your name for


the project.


i. Declare an array named name1 and put all the first five characters into it.


ii. Write a for loop with an if condition that will find and output the index value of a


searched character in the array. Let the program be such that the user will input the


character being searched for

Write a program in C++ with the following datatypes. Use the 3 different variables with the same data type. Explain the codes step by step. a. int b. float. c. double. d. string. e. bool


Create a class named “student” that contains roll_number, stu_name and course_name,



father_name, DOB as data member and Input_student and display_student as member functions.



Create a Derived class named “exam” from the class named “student” with publicly inherited



mode. The derived class contains members as mark1,mark2,mark3 as marks of three subjects and



input_marks and display_results as member functions. Create an array of object of the “exam”



class and display the result of 10 students.




(2x +1) (3y+z) program to solve following equation


Write a program in C++ using class to calculate the total marks scored by 10 students in a class for 5 subjects out of 100 each. Also calculate the percentage scored and declare the topper of the class. Display the name and roll number of the topper.


Write a program that has a class ‘Customer’ to store records of 100 Customers of company “ABC” including following members: Data member: (1) Cust_id (2) Cust_name (3) Cust_address Member Functions: (1)getdata() (2)display() 


AUTOMATED TELLER MACHINE

Screen/layout

MAD AUTOMATED TELLER MACHINE IS ONLINE


INPUT YOUR 6 DIGIT PIN ******


ENTER[Y/N]: Y

(default PIN is mad123; if correct go to main screen otherwise display the message "WRONG PIN". On the 3rd wrong attempt the prog. should exit)


[C]HECK BALANCE

[D]EPOSIT CASH

[W]ITHDRAW CASH

C[H]ANGE PIN


TRANSACTION: [C|D|W|H]: C


YOUR CURRENT BALANCE IS:

Php 0.00

TRANSACTION: [C|D|W|H]: D


INSERT YOU CASH

Php 15,000.00


Transaction [C|D|W|H]: W


INPUT THE AMOUNT OF WITHDRAWAL

Php 20,000.00

CASH NOT ENOUGH, TRY AGAIN


INPUT THE AMOUNT OF WITHDRAWAL

Php 5,000.00


TRANSACTION: [C|D|W|H]: H


INPUT YOUR CURRENT PIN ******

INPUT YOUR NEW PIN ******

VERIFY YOUR NEW PIN ******


ENTER[Y/N]: Y


AUTOMATED TELLER MACHINE

Create a C++ program that will

  • Deposit cash amount in a bank account
  • Check available balance of the account
  • Withdraw cash amount from an account
  • Compute for the interest earned for balances greater than Php 10,000.00
  • Charges for having a balance below the required minimum

Maintaining balance is Php 5,000.00

Interest rate is 5%

Bank charge is 2%

PIN (Personal Identification Number) is required to do a bank transaction

The program gives the user an option to change PIN





Write a C program that takes input as name of the end user. Use for loop and print the name entered in the reverse order. 5. Write a program in C that accepts the Id, Name, and Grade of 5 students using any loop. Write a switch case, which should display the description of the grade along with the Id and Name. Description of grade given below in Table 1 Grade Description E Excellent V Very Good G Good A Average F Fail


Write a program that reads the prices of a shop’s products continuously until the user enters −1. The program should display the minimum price, the maximum, and the average of those within [5,30], before it terminates. Assume that none of the product’s costs more than $100.


LATEST TUTORIALS
APPROVED BY CLIENTS