Category: Language
Did this problem from subeen vai’s book. For maximum value: #include<stdio.h> int find_max(int ara[],int n); int main()…
code: #include<stdio.h> int main() { int ara[]={10,20,30,40,50,60,70,80,90,100}; //took this array for various limit int ara2[10]; //max value…
One of the most important conecpts in object oriented programming is that of inheritance.Inheritance allows us to…
The class constructor: A class constructor is a special member function of a class that is executed…
From this two video I tried to re learn and implement the algorithm with pseudo code. Pseudocode:…
C++ precision example: #include<iostream> #include<iomanip> using namespace std; int main() { double f; f=3.12159; cout<<f<<‘\n’; cout<<setprecision(3)<<f<<endl; cout<<setprecision(5)<<f<<endl;…
Recent Comments