C++ Project

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 »

Write a C++ program in which user enter his NTS and FSc marks and your program will help student in selection of university.

Write a C++ program in which user enter his NTS and FSc marks and your program will help student in selection of university.

Program in which user enter his NTS and FSc marks and your program will help student in selection of university.   Object: Write a C++ program in which user enter his NTS and FSc marks and your program will help student in selection of university. Based on these marks Student will be allocated a seat …

Write a C++ program in which user enter his NTS and FSc marks and your program will help student in selection of university. Read More »

Write a c++ program that stores monthly rainfall amounts in an array.

Stores monthly rainfall amounts in an array. Object: Write a program that stores monthly rainfall amounts in an array. The program then displays the monthly rainfall amounts, the total annual rainfall amount, the average rainfall amount, the highest rainfall amount, or the lowest rainfall amount First get the rainfall amounts for the 12 months. Example: …

Write a c++ program that stores monthly rainfall amounts in an array. Read More »

C++ Program one large chemical company pays its salespeople on a commission basis

C++ Program one large chemical company pays its salespeople on a commission basis

C++ Program one large chemical company pays its salespeople on a commission basis Object: One large chemical company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a salesperson who sells $5000 worth of chemicals in a week receives …

C++ Program one large chemical company pays its salespeople on a commission basis Read More »

Write a C++ program that reads a temperature value and the letter C for Celsius or F for Fahrenheit. Print whether water is liquid, solid, or gaseous

Write a C++ program that reads a temperature value and the letter C for Celsius or F for Fahrenheit. Print whether water is liquid, solid, or gaseous

C++ program that reads a temperature C for Celsius or F for Fahrenheit. Print whether water is liquid, solid, or gaseous Object: Write a program that reads a temperature value and the letter C for Celsius or F for Fahrenheit. Print whether water is liquid, solid, or gaseous at the given temperature at sea level. …

Write a C++ program that reads a temperature value and the letter C for Celsius or F for Fahrenheit. Print whether water is liquid, solid, or gaseous Read More »

C++ program file handling create an empty text file and assign some values

C++ program file handling create an empty text file and assign some values

C++ program file handling Reading and Writing Some Values Objects: Write a program in C++ that will:  Create an empty text file example.txt using ofstream class on default location. Assign some values to example.txt file. Open example.txt file and print its data on C++ console window. Code: #include<iostream> #include<conio.h> #include<string> #include<fstream> using namespace std; void …

C++ program file handling create an empty text file and assign some values Read More »