c++ projects

Basic Concepts of Programming

Basic Concepts of Programming Languages C++ Programming Examples

Basic Concepts of Programming language PROGRAMMING: Programming can be considered as both an art, a science. Coding is an art because of its creativity & versatility & science. There are several rules to follow for generating a particular logic. Simple c++ program. PROGRAM: Set of well define instructions is called a program. A program is […]

Basic Concepts of Programming Languages C++ Programming Examples Read More »

C# program which checks whether the number you inputted is an Even or Odd number

C# program which checks whether the number you inputted is an Even or Odd number

C# program which checks whether the number you inputted is an Even or Odd number. Object: C# Program Make a class EvenODD, which checks whether the number you inputted is an Even or Odd number. C# Projects with Source Code Code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab_3 { class

C# program which checks whether the number you inputted is an Even or Odd number Read More »

Write a C++ program to read age of 15 people and count total Baby age, School age and Adult age.

Write a C++ program to read age of 15 people and count total Baby age, School age and Adult age.

Write a C++ program to read the age of 15 people and count total Baby age, School-age, and Adult age.   Object: Write a C++ program to read the age of 15 people and count total Baby age, School-age, and Adult age. C++ Projects. Code: #include<iostream> #include<conio.h> using namespace std; void main() { int age,

Write a C++ program to read age of 15 people and count total Baby age, School age and Adult age. Read More »

Write a program to swap two numbers using pointers.

Write a program to swap two numbers using pointers.

Write a C++ Program to Swap Two Numbers using Pointers.   Object: Write a program to swap two numbers using pointers. C++ Projects. Code: #include<iostream> #include<conio.h> using namespace std; void main() { int num1, num2, temp; int *p1,*p2; cout<<“Enter Two Numbers.”<<endl; cout<<“Enter value of a : “; cin>>num1; cout<<“Enter value of b : “; cin>>num2;

Write a program to swap two numbers using pointers. Read More »

Write a C++ Program to display Box shape using for loop.

Write a C++ Program to display Box shape using for loop.

Write a C++ Program to display Box shape using for loop Object: Write a C++ Program to display Box shape using for loop. C++ for loop Programs examples. Code: #include<iostream> #include<conio.h> using namespace std; const int width=40; const int height=20; void main() { int i; cout<<“\n\t\t*********************************************\n”; cout<<“\t\t\t: Display Box Shape:\n”; cout<<“\t\t*********************************************\n”; cout<<“\n\n\t\t”; for(int i=0;i<width-18;i++) {

Write a C++ Program to display Box shape using for loop. Read More »

Write a C++ program to check triangle by entering 3 angles

Write a C++ program to check triangle by entering 3 angles

Write a C++ program to check triangle by entering 3 angles Object: Write a C++ program to check triangle by entering 3 angles. C++ Projects. Code: #include<iostream> #include<conio.h> using namespace std; void main() { float ang1, ang2, ang3; cout<<“\n\t*******************************************************************\n”; cout<<“\t\t:P r o g r a m to c h e c k T r i

Write a C++ program to check triangle by entering 3 angles Read More »

Write a C++ program that asks for the number of units sold and computes the total cost of the purchase.

Write a C++ program that asks for the number of units sold and computes the total cost of the purchase.

Write a C++ program that asks for the number of units sold and computes the total cost of the purchase. Object: A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity Discount : 10-19 20% 20-49 30% 50-99 40% 100 or more 50% Write a

Write a C++ program that asks for the number of units sold and computes the total cost of the purchase. Read More »

Write a C++ program that will ask user to enter two integral numbers. The numbers should be swapped without using any third variable.

Write a C++ program that will ask user to enter two integral numbers. The numbers should be swapped without using any third variable.

C++ program that will ask user to enter two integral numbers. The numbers should be swapped without using any third variable.   Object: Write a C++ program that will ask user to enter two integral numbers. The numbers should be swapped without using any third variable. Your code should be able to do the same

Write a C++ program that will ask user to enter two integral numbers. The numbers should be swapped without using any third variable. Read More »

Write a C++ Program to calculate Sales tax.

Write a C++ Program to calculate Sales tax.

Calculate Sales Tax in C++ Program Object: Write a C++ Program to calculate Sales tax. C++ Projects. Code: #include<iostream> #include<conio.h> using namespace std; void main() { double tax,product,total,cal; cout<<“\n\t***********************************************\n”; cout<<“\t\t:S a l e s T a x C a l c u l a t o r:\n”; cout<<“\t***********************************************\n”; cout<<“\nPlease Enter herer Your Product Price :

Write a C++ Program to calculate Sales tax. Read More »

Write a program that will calculate the selling price of a circuit board that costs $12.67

Write a program that will calculate the selling price of a circuit board that costs $12.67

Write a program that will calculate the selling price of a circuit board that costs $12.67 Object: An electronics company sells circuit boards at 40% profit. Write a program that will calculate the selling price of a circuit board that costs $12.67. Display the result on the screen. C++ Projects. Code: #include<iostream> #include<conio.h> using namespace

Write a program that will calculate the selling price of a circuit board that costs $12.67 Read More »

Write a program that continually calculates the cube of a number until the user enters a number that is divisible 2

Write a program that continually calculates the cube of a number until the user enters a number that is divisible 2

C++ Program that continually calculates the cube of a number until the user enters a number that is divisible 2 Object:  Write a program that continually calculates the cube of a number until the user enters a number that is divisible by both 2 and 3. Expected Output: Enter a number: 3 Cube of 3

Write a program that continually calculates the cube of a number until the user enters a number that is divisible 2 Read More »