Contact Us

Contact Us :  Codezclub provides Solved Programming Codes for C , C++ Programming, Data Structures, Java Programming, with Detailed Description and Latest Technology Updates.

CodezClub is one of India’s fast-growing websites for Programming Codes. We are constantly trying to serve you a better experience in learning. If you have any queries or doubts, you can contact us here. We shall reach out to you shortly.

If you have any business inquiries or any discussions to make, feel free to contact us via email. info@techbuddie.org

4.2 11 votes
Article Rating
Subscribe
Notify of
guest
54 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
prasad

Define a class Student. Inherit it into engineering, arts, commerce, and science students. Inherit engineering student into computer science, electronics and communication, and information technology student. Provide constructors for all the classes. Now define a virtual function display() for displaying the details for all classes in their respective classes using the same base class pointer (a pointer to student). Now, use the virtual function to access the electronics and communication object. It can be seen that without any pointer casting, the base class pointer can access the derived class object using virtual function

A Raghavendra Reddy

anyone please tell the answer for this question

Dangare Akash Mahesh

don’t put your assignment questions here bro…..Do it on your own !

Thank you ,God Bless you!!!

Abdul moiz

collection of positive integers that are entered by the user from the keyboard.your program shuold prompt the user to enter each integer followed by the return key,and to enter “-1″at the end of the list of integers to be added.Note that there is no need to store list of integers:you can keep track of the sum as the user is entering the values.
Modify your code so that the code terminates if the sum of integers entered upto that point exceeds 100.
(C++ language)

Samir

Create a base class called user to represent a user in an application. Include data members name (string) and password (string) in class user. Derive two classes from user to represent two different kinds of user : admin and normal user. Class admin needs a new data member to store phone number (integer) of administrator. Include a member function called authenticate() in class user. Keep this function pure virtual in base class but override it to perform specific authentication procedure for both derived classes. Define appropriate constructors in all these classes to initialize data members of created objects such that… Read more »

Manas

void main()

{

int i = 2, j = 1, x;

X = ++i + ++j – –j – –i;

printf(“x=%d i=%d j = %d”, x, i, j);

}

I need output of the Program.
In Turbo its different but online compiler its different.

stanley

You are required to write a C++ program using Classes or Structs to fulfil one of the client briefs listed below. You only need to write a program for one of the client briefs, the choice is up to you. Client Brief 1: BMI Calculator A local health clinic wants a simple to use application that can keep track of multiple patients Body Mass Index (BMI) measurements. The application should be able to: Add a new patient with their Name, Phone number, email, Initial weight & Height List the patient’s names, phone numbers & email addresses. Update the weight for… Read more »

stanley

can anyone help me out please

CodeBuddy

Hi, you can reach out to me at https://www.instagram.com/itscodebuddy/
I will try to help you

Alishba Faheem

1.     There is an application which inputs hundred numbers from user, if user enters a positive number it increments valid numbers count. But if user enters other than integer it terminates. You are required to write and execute the code for this application such that instead of termination it shows message “input is not valid” and re input a number.

plz provide solution

Selvin Gounder

Demonstrate the use of a combination of selection and loop structure in C++ programming. For this assignment you are required to create a program for Save Energy Electricity & Co to assist them in automating the billing process for all its customers. A customer is billed at 33.10 cents per unit. However, all households with a combine annual income below $30,000, will be eligible for government subsidy for the first 100 units of electricity usage per month at a rate of 0.1590 cents per unit. All units above 100 will be charged the full tariff. For example: Customer A with… Read more »

Wesley Newcomb

The goal of a traffic simulation is to collect data about the traffic flow. In our project we start with
modeling one orthogonal intersection controlled by a traffic light. Each roadway leading to and
from the intersection will have a fixed length (providing space for a fixed number of cars). The
simulation is driven by a timer. Vehicles (e.g. cars, trucks, buses, motorcycles) arrive onto the
four lanes of traffic leading to the intersection every timer unit with a probability 1:n (n selected
by user – suggested value 6). 
Answer source in C++?

Riya

Why we use count variable

Harsh Aryan

Bro please write correctly, its a min and max element search on a binary search tree without recursion, not on binary tree.

Bhartendra Narain Sharma

/* C Program to replace all Even elements by 0 and Odd by 1 */ #include <stdio.h> void readArray(int arr[], int size) { int i =0; printf("Enter elements of array :: \n"); for(i=0; i < size; i++) { printf("\nEnter arr[%d] :: ",i); scanf("%d",&arr[i]); } } void printArray(int arr[], int size) { int i =0; printf("\nElements are : "); for(i=0; i < size; i++) { printf("\narr[%d] : %d",i,arr[i]); } printf("\n"); } void replaceEvenOdd(int arr[], int size) { int i=0; for(i=0; i < size; i++) { if( arr[i] % 2 == 0 ) arr[i] = 0 ; else arr[i] = 1 ;… Read more »

riya

offline

gojo
Nora Garcia

Hi,

Coronavirus has slowed things down for businesses worldwide. This is the right time to improve your business sales and visibility. I thought you’d like to know more about your website errors and areas of improvement for Google search and Local Maps. I did a fast scan of your website regarding SEO, and it’s available for you if you’re interested. We need your ideas to suggest the best solution for your business.

Would you please reply for more info and cost if you are interested?

Regards,
Nora Garcia

moaaz

Enter first string :: ahmad

Enter Second string :: ahmed

Strings are equal.

moaaz

are not equal

moaaz

the forth letter a & e

moaaz

the loop should be modified like this

for (i = 0, j = 0;str1[i] != ‘\0’, str2[j] != ‘\0’;i++, j++)
{
if (str1[i] == str2[j])
{
flag = 1;
}
else {
flag = 0;
break;
}
}

Ali

Solve this problem

Screenshot 2022-04-25 201305.png
CodeBuddy

Hi, you can reach out to me at https://www.instagram.com/itscodebuddy/
I will try to help you

Rəşad

Salam,bu matrisin köməkçi diaqonalini necə tapmaq olar?

Rəşad

Ikiölçülü massivin köməkçi diaqonalini

Rəşad

Bu sualın cavabını tez deyə bilərsiniz?

Rəşad

Help me

vicky

i want all topics questions like binary search,recursion..etc

CodeBuddy

Hi, you can reach out to me at https://www.instagram.com/itscodebuddy/
I will try to help you.

Rifat

Sir your site is very helpful for all the beginner programmer.
It would be more helpful for us if you include javascript problems with solve in your menu.

CodeBuddy

Hi, you can reach out to me at https://www.instagram.com/itscodebuddy/
I will try to help you

Gee Adm

error in finding lenth of string wothout strlen

Sheldon Rabin

I am new to C++ programing. I am interested in the USB numbers-output of a component impedance-bridge. Any suggestions?

MALLIKARJUNAN E

#include<iostream>
using namespace std;

int main()
{
  int i,j,len,flag=1;
  char a[20];
  cout<<“nEnter any string :: “;
  cin>>a;

  for(len=0;a[len]!=”;++len);
    for(i=0,j=len-1;i<len/2;++i,–j)
    {
      if(a[j]!=a[i])
        flag=0;
    }

  if(flag==1)
    cout<<“nThe Entered String [ “<<a<<” ] is Palindrome.n”;
  else
    cout<<“nThe Entered String [ “<<a<<” ] is NOT Palindrome.n”;

  return 0;
}

in this i have on doubt
program runs successfully but why we put semicolon in end of the for loop?

riya

Define a class Student. Inherit it into engineering, arts, commerce, and science students. Inherit engineering student into computer science, electronics and communication, and information technology student. Provide constructors for all the classes. Now define a virtual function display() for displaying the details for all classes in their respective classes using the same base class pointer (a pointer to student). Now, use the virtual function to access the electronics and communication object. It can be seen that without any pointer casting, the base class pointer can access the derived class object using virtual function

Roman Tsarev

#include <iostream> #include <string> using namespace std; // Base class class Student { public:   string name;   int age;   // Constructor for Student   Student(string n, int a) : name(n), age(a) {}   // Virtual function to display details   virtual void display() {     cout << “Name: ” << name << “, Age: ” << age << endl;   } }; // Derived classes class Engineering : public Student { public:   Engineering(string n, int a) : Student(n, a) {}   void display() override {     cout << “Engineering Student – “;     Student::display();   } }; class Arts : public Student { public:   Arts(string n, int a) : Student(n,… Read more »

Najib Muhammad

Please help me to solve this problem for me.

Write a two-dimensional array C++ program that will accept 3 random values and store them in the first row of the array. The program should accept another 3 random values and store them in the second row of the array. Afterwards, the program should compute the sum of the adjacent values for every row in the array. Then it should compute the product of each of the array elements that have the same/corresponding index. Employ the techniques of user-defined functions in your program implementation. 

Roman Tsarev

#include <iostream> using namespace std; // Function to input values into the array void inputValues(int arr[2][3]) {   cout << “Enter 3 values for the first row: “;   for (int j = 0; j < 3; j++) {     cin >> arr[0][j];   }   cout << “Enter 3 values for the second row: “;   for (int j = 0; j < 3; j++) {     cin >> arr[1][j];   } } // Function to compute the sum of adjacent values for each row void computeRowSums(int arr[2][3], int sums[2]) {   for (int i = 0; i < 2; i++) {     sums[i] = 0;     for (int j… Read more »

Gary Charles

No more waiting for SEO and high Pay Per Click charges! With technology that we developed, you can achieve top-ranking placements on Google and Bing without SEO or Pay Per Click. Simply provide your target keywords, and watch your website soar to the number one spot. Let us show you the process and you’ll be amazed at the results.

Gary Charles

Let me demonstrate to you how you can get guaranteed thousands of clicks to your website without SEO and without Pay Per Click.
You will start getting keyword targeted traffic in less than 48 hours.
Just send us your keywords and we’ll tell you how much monthly clicks we can guarantee without paying for each click and waiting for SEO results.
You will get exclusive ownership of keywords you choose for flat fee (no Pay Per Click)…

Gary Charles

Let me demonstrate to you how you can get guaranteed thousands of clicks to your website without SEO and without Pay Per Click.
You will start getting keyword targeted traffic in less than 48 hours.
Just send us your keywords and we’ll tell you how much monthly clicks we can guarantee without paying for each click and waiting for SEO results.
You will get exclusive ownership of keywords you choose for flat fee (no Pay Per Click)…

Gary Charles

Let me demonstrate to you how you can get guaranteed thousands of clicks to your website without SEO and without Pay Per Click.
You will start getting keyword targeted traffic in less than 48 hours.
Just send us your keywords and we’ll tell you how much monthly clicks we can guarantee without paying for each click and waiting for SEO results.
You will get exclusive ownership of keywords you choose for flat fee (no Pay Per Click)…

Gary Miller

I am not offering to you SEO, nor Pay Per Click Advertising.
It’s something completely different.
Just send me keywords of your interest and I’ll give you traffic guarantees on each of them.
Let me demonstrate to you how it works and you will be surprised by the results.

Rick Stephens

We can place your website on top position in search engines without PPC.
Just fill Online Quote form on our website or send us your keywords and you’ll get minimum amount of traffic that our technology can guarantee.
Do online demo on our website and see how your website will appear on top of search engines.

Rick Stephens

We can place your website on top position in search engines without PPC.
Just fill Online Quote form on our website or send us your keywords and you’ll get minimum amount of traffic that our technology can guarantee.
Do online demo on our website and see how your website will appear on top of search engines.

Rick Stephens

If you want to get more visitors to your website, but do not want to pay a lot of money for each click to Google and also do not want to wait until SEO works, then we have a solution for you.
Just fill Online Quote form on our website or send us your keywords and we’ll send you estimated traffic our technology can provide.
Do online demo on our website and see how it will appear on search engines.

Gary Charles

I am not offering SEO or Pay Per Click Advertising. This is something entirely different. Simply send us your desired keywords, and your website will instantly appear at the top of Google and Bing search results, without any Pay Per Click charges. You’ll be pleasantly surprised by the results.

Marcus Palmer

We place your business right where people are already searching for your services – setup usually takes less than 24 hours.
What is the best way to reach you?

Gabrielle Simmons

Within 24 hours, we can have your brand appearing when people search for your top keywords.
Want to see what kind of reach we can get you?

Eric Warren

We help brands show up at the top of search results within 24 hours – no long wait or heavy setup.
Can I walk you through it?

Nathaniel Brooks

We help businesses dominate their local market online by showing up first in search results – live within 24 hours.
It’s quick, measurable, and flexible – you can change or test new keywords anytime for free.
Let’s set up a short 10-minute call so I can show you the setup and traffic estimates for your niche.

Daniel Wright

If customers are searching for what you offer, your business should show up first. We can make that happen within a day.
Want to see how easy it is?

colstelhml

For the C++ program, Linear Search Using Recursion, you don’t need the variable, i, in main(). You never use it. Keep up the good work !

Nathaniel Brooks

We’ve developed a unique advertising platform that places your business directly in front of people searching for your service – no waiting, no complex setup.
Campaigns usually go live in one day, and you can update your keywords anytime at no extra cost.
Would you like me to show you a few examples from your industry?