C++ Project

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

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 program parking garage charges and calculate Charges to determine the charge for each customer Read More »

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

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 recursive function to obtain the first 25 numbers of a Fibonacci sequence. Read More »

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

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;       …

Program that print the elements of the array in reverse order by using a pointer. Read More »

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

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 …

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

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++ 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() …

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

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

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 library management system menu driven program that depicts the working of a library Read More »

Write a program to convert a string in lowercase

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]); } …

Write a program to convert a string in lowercase Read More »

Write program takes a string object from the user and calculates the number of vowels, digits and white-spaces

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 takes a string and calculates the number of vowels, digits and white spaces Read More »

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

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 a substring within a string. If found display its starting position Read More »

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

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]<<” …

Program to find transpose of a matrix by using multi-dimensional arrays. Read More »

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

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]<<” “; } …

Write a program to add two matrices by using multi-dimensional arrays. Read More »

Write a program that accepts temperature of 7 days from user and print their average using array

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++) { …

Program that accepts temperature of 7 days from user and print their average using array Read More »