# C++ Project

## Write a program parking garage charges and calculate Charges to determine the charge for each customer

Program Parking Garage Charges and Calculate Charges Object: A parking garage charges a \$2.00 minimum fee to park for up to three hours. The garage charges an additional \$0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is \$10.00. Assume that no …

## Write a recursive function to obtain the first 25 numbers of a Fibonacci sequence.

Recursive function first 25 numbers of a Fibonacci sequence. Object: Write a recursive function to obtain the first 25 numbers of a Fibonacci sequence. In a Fibonacci sequence the sum of two successive terms gives the third term. Following are the first few terms of the Fibonacci sequence: 1 1 2 3 5 8 13 …

## Write a program to compute the sum recursively in C++

Program Sum Recursively in C++ Object: We can define the sum from 1 to x (i.e. 1 + 2 + … + x) recursively as follows for integer x ≥ 1: 1, if x = 1 x + sum from 1 to x-1 if x > 1 Write a program to compute the sum 1 …

## Program that print the elements of the array in reverse order by using a pointer.

Print the elements of the array in reverse order by using a pointer. Object: Write a Program that print the elements of the array in reverse order by using a pointer. C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> using namespace std; void main() {       int num[5],i;       …

## Write a C++ program for ticket booking system

Ticket Booking System object: write a C++ program for ticket booking system program will then ask to enter age of person and will run until you enter the age of last family member program will then tell you the amount due after each person’s age you enter ——> the rates for discovery *children below 10 …

## Write a program to input elements in an array and sort array using pointers array in ascending or descending order using function pointers.

Sort an Array in Ascending or Descending order using Function Pointers Object: Write a C++ program to input elements in an array and sort array using pointers. How to sort an array in ascending or descending order using function pointers in C programming. Logic to sort an array using pointers in program. Example Input Input …

## C++ Program by using pointer that receives array of 5 integers numbers and calculate the sum, average and standard deviation of these numbers.

C++ Program Calculate the Sum, Average and standard Deviation of these Numbers. Object: Write a C++ program by using pointer that receives array of 5 integers from keyboard and calculate the sum, average and standard deviation of these numbers. C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> #include<math.h> using namespace std; void main() …

## Write a program library management system menu driven program that depicts the working of a library

Write a Program Library Management System Object: Write a menu driven program that depicts the working of a library. The menu options should be: a) Add book information b) Display book information c) List all books of given author d) List the title of specified book e) List the count of books in the library …

## Write a program to convert a string in lowercase

Write a C++ Program to Convert a String in Lowercase Object: Write a program to convert a string in lowercase. C++ Projects. C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> #include<string> using namespace std; void main() { string tex; int i; cout<<“Enter the text in Upper case: “; getline(cin,tex); for(i=0;i<tex.length();i++) { tex[i]=tolower(tex[i]); } …

## Program takes a string and calculates the number of vowels, digits and white spaces

Calculates the Number of Vowels, Digits and White Spaces Object: Write a Program takes a string and calculates the number of vowels, digits and white spaces. C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> #include<string> using namespace std; void main() { string tex; int i,vol,dig,whtsp; vol=dig=whtsp=0; cout<<“Writer any string: “; getline(cin,tex); for(i=0;tex[i]!=’\0′;i++) { …

## Program to find a substring within a string. If found display its starting position

Program to find a sub string within a string Object: Write a program to find a sub string within a string. If found display its starting position. C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> #include<string> using namespace std; void main() { int find; string sb2,fn1; string s1=”Yes, we went to Gates after …

## Program to find transpose of a matrix by using multi-dimensional arrays.

Find Transpose of a Matrix by Using Multi-dimensional Arrays Object: Write a C++ program to find transpose of a matrix by using multi-dimensional arrays. C++ Projects Code: #include<iostream> #include<conio.h> using namespace std; void main() { int mat[4][5],i,j; cout<<“Enter matrix values:\n”; for(i=0;i<4;i++) { for(j=0;j<5;j++) { cin>>mat[i][j]; } } cout<<endl; for(i=0;i<4;i++) { cout<<“[ “; for(j=0;j<5;j++) { cout<<mat[i][j]<<” …

## Write a program to add two matrices by using multi-dimensional arrays.

Program to add two matrices by using multi-dimensional arrays Object: Write a program to add two matrices by using multi-dimensional arrays. C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> using namespace std; void main() { int sum[2][3],i,j; int mat1[2][3]={{2,4,5},{4,5,6}}; int mat2[2][3]={{6,3,1},{3,2,6}}; cout<<“1st Matrix: \n\n”; for(i=0;i<2;i++) { cout<<“[ “; for(j=0;j<3;j++) { cout<<mat1[i][j]<<” “; } …

## Program that accepts temperature of 7 days from user and print their average using array

7 days temperature from user and print their average using array Object: Write a program that accepts temperature of 7 days from user and print their average using array. C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> using namespace std; void main() { float temp[7],sum=0,avg; int i; cout<<“Enter 7 days Tempreature:\n”; for(i=0;i<7;i++) { …