Topic: Basics of C++ Programming Language "ARRAY IN C++"
Codes discussed will be posted here. Write your conclusion on the File stream discussion.
Filename: Ch8_SelectionSort.cpp
Code:
-->>https://drive.google.com/file/d/1gPf5uykpETwV7zRMxe2goq14z1PoTCEg/view?usp=sharing
*Note need proper codes and conclusion on how it's done and about the results. And please give the proper solution and explanation.
Note: Place your conclusion on why did it turn out like that and give your reasons why the results turned like that, one paragraph will do for the explanation and conclusion.
Note: Please place the proper conclusion and explanations and results of the codes which were given.
Topic: Basics of C++ Programming Language "ARRAY IN C++"
Codes discussed will be posted here. Write your conclusion on the File stream discussion.
Filename: Ch8_SecretCodeData.txt
Code:
7 9 2 7 8 3 5 6 7 9 2 7 8 3 5 6*Note need proper codes and conclusion on how it's done and about the results. And please give the proper solution and explanation.
Note: Place your conclusion on why did it turn out like that and give your reasons why the results turned like that, one paragraph will do for the explanation and conclusion.
Note: Please place the proper conclusion and explanations and results of the codes which were given.
Topic: Basics of C++ Programming Language "ARRAY IN C++"
Codes discussed will be posted here. Write your conclusion on the File stream discussion.
Filename: Ch8_LineAndLetterCount.cpp
Code:
-->>https://drive.google.com/file/d/19IOda0jvDji8AdWCdi9WyaaAJnkhw5Q1/view?usp=sharing
*Note need proper codes and conclusion on how it's done and about the results. And please give the proper solution and explanation. This is about ARRAY
Note: Place your conclusion on why did it turn out like that and give your reasons why the results turned like that, one paragraph will do for the explanation and conclusion.
Note: Please place the proper conclusion and explanations and results of the codes which were given.
Topic: Basics of C++ Programming Language "ARRAY IN C++"
Codes discussed will be posted here. Write your conclusion on the File stream discussion.
Filename: Ch8_CodeDetection.cpp
Code:
-->>https://drive.google.com/file/d/1iH_fVlO2SY4LOh3wqqKorsaggZeqGXWC/view?usp=sharing
*Note need proper codes and conclusion on how it's done and about the results. And please give the proper solution and explanation.
Note: Place your conclusion on why did it turn out like that and give your reasons why the results turned like that, one paragraph will do for the explanation and conclusion.
Note: Please place the proper conclusion and explanations and results of the codes which were given.
Consider the class declaration and main() function below. There are two errors in
the main() function. Name the errors and explain how to fix them, providing all the
code required to correct the errors.
class Game
{
public:
Game();
string getName();
int getLevel();
double getScore();
private:
string Name;
string Champion;
int Level
double Score;
};
int main()
{
Game sodoku, tetris[12];
.........(additional code)
double nScore = sodoku.Champion;
.........(additional code)
return 0;
cout << "The first tetris player is "
<< tetris.getName() << endl;
WAP that defines a shape class with a constructor that gives value to width and height. The define two sub-classes triangle and rectangle, that calculate the area of the shape area (). In the main, define two variables a triangle and a rectangle and then call the area() function in this two varibles.
write a program to find out big number from 2 value using class and object
Create a class called CarPark that has the members CarRegnno(int), ChargePerHour(int) and
ParkingDuration(float). Set the data and show the charges and parked hours of a car based on
CarRegnNo. Make two member functions for setting and showing the data. Member function should
be called from other functions.
Ali has decided to go Online with his fast food store. You have been hired by him to make a system for its sale of fast food items.
To create this program you have to create a C++ Program. The information that you are dealing with is name of Food item, category of Food (Desi, italian) price of Food item and stock to know how much the Food item is present in the stock.
First you need to create a menu which has the following options:
1. Add a new Food item.
2. Buy a Fruit item and display it.
a. Upon buying the fruit item should get decreased by the quantity bought.
b. If the quantity bought is 2, stock should be decreased by 2.
3. Display fruits that have stocks lower than 10.
4. Display Least expensive fruit Item from the list.
Write a program to create a class Name with data member as char array. Write a member
function to erase a particular character from the given input C++ string.