program

C# Program Calculating the Area of a Rectangle

C# Program Calculating the Area of a Rectangle

C# Program Calculating the Area of a Rectangle Object: Let us consider a Rectangle object. It has attributes such as length and width. Depending upon the design, it may need ways for accepting the values of these attributes, calculating the area, and displaying details. C# Projects. Code: using System; using System.Collections.Generic; using System.Linq; using System.Text; …

C# Program Calculating the Area of a Rectangle 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 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 »

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 »

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 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 »

Write a program that generates a table of any number

Write a program that generates a table of any number

Program that generates a table of any number   Object: Write a program that generates a table of any number. C++ Projects. Code: #include<iostream> #include<conio.h> using namespace std; void main() { int no,i,tab; cout<<” :Table Generator:\n\n”; cout<<“Enter Any Number: “; cin>>no; for(i=1;i<=10;i++) { tab=no*i; cout<<no<<” * “<<i<<“= “<<tab<<endl; } getch(); } #include<iostream> #include<conio.h> using namespace …

Write a program that generates a table of any number Read More »

Write a program that declares and initializes two numbers with your roll no and your friend roll no and displays the greater of the two

Write a program that declares and initializes two numbers with your roll no and your friend roll no and displays the greater of the two

Declares and initializes two numbers and displays the greater of the two Object: Write a program that declares and initializes two numbers with your roll no and your friend roll no and displays the greater of the two C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> using namespace std; void main() {        …

Write a program that declares and initializes two numbers with your roll no and your friend roll no and displays the greater of the two Read More »

Write a Bio Data program that Input Name, Father Name, college name, Age etc. and Print given data?

Write a Bio Data program that Input Name, Father Name, college name, Age etc. and Print given data?

Bio Data program that Input Name, Father Name, college name, Age etc. Object: Write a Bio Data program that Input Name, Father Name, college name, Age etc. and Print given data? C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> #include<string> using namespace std; void main() { int age; float hight; string name,f_name,email,cont,uni,dep,colg; cout<<“\n\t\t———- …

Write a Bio Data program that Input Name, Father Name, college name, Age etc. and Print given data? Read More »