·
C++ program to count word and sentence from a file. Show the use of
Constructor and Destructor effectively. Use constructor to read from file and
use method to display output to the screen.
Reference: http://www.c-programming-blog.com/2015/03/c-program-to-count-word-and-sentence.html
Reference: http://www.c-programming-blog.com/2015/03/c-program-to-count-word-and-sentence.html
·
C++ program to count Vowel and Consonant from a sentence. Read the sentence from a file. Use Constructor to read from file. Use Method to show output to the user.
C++ program to count Vowel and Consonant from a sentence. Read the sentence from a file. Use Constructor to read from file. Use Method to show output to the user.
·
C++ program for String Array sorting using bubble sort
algorithm. Show the use of multiple class here. One class must have
minimum one method.
Reference: http://c-programming-source.blogspot.com/2014/12/string-array-sorting-using-bubble-sort.html
·
C++ program for Bubble Sort of a given data from user. Use one method with parameter to take full array from main function to sort. No need to return anything from method. Just print the sorted array.
C++ program for Bubble Sort of a given data from user. Use one method with parameter to take full array from main function to sort. No need to return anything from method. Just print the sorted array.
Reference: http://www.c-programming-blog.com/2014/12/bubble-sort-using-user-defined-function_22.html
·
C++ program for Bubble Sort. Use Multiple Inheritance
with Pointer Array.
Reference: http://c-programming-source.blogspot.com/2014/12/bubble-sort-with-struct-using-c.html
Concept of Multiple Inheritances:
http://www.c-plus-plus-programming.com/p/11.html
·
C++ program for Binary Search implementation. Use Multilevel
Inheritance.
Reference: http://c-programming-source.blogspot.com/2014/12/binary-search-using-c.html
Concept of Multilevel Inheritance:http://www.c-plus-plus-programming.com/p/c-multilevel-inheritance-if-class-is.html
·
Count number of students above, below and average students
Using "C++ Programming". Use Multilevel Inheritance.
Reference: http://c-programming-source.blogspot.com/2014/12/count-number-of-students-abovebelow-and.html.
Concept of Multilevel Inheritance: http://www.c-plus-plus-programming.com/p/c-multilevel-inheritance-if-class-is.html
·
Addition of
two numbers without using arithmetic operator as like "+" using
"C++ Programming" Use Method with
parameter.
·
Add two
Matrices and store the result into another Matrices using "C++ Programming" .
Use
at least one Method with return type.
MD.Alamin
ReplyDeleteID.201910261
CSE(60th)
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
#include
using namespace std;
class A
{
public:
ifstream file1;
string line;
int cw=0,cs=0;
A()
{
cout<<"\n-------------------Constructor----------------\n";}
void filein()
{
file1.open("alamin.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ') //words count
{
cw++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!') //sentence count
{
cs++;
}
}
}
}
cout<<"Words : "<<cw<<"\nSentences : "<<cs;
file1.close();
}
~A()
{
cout<<"\n\n-------------------Distructor----------------\n";
}
};
int main()
{
A obj;
obj.filein();
}
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteMD.Raihan Molla
ReplyDeleteID.201910061
CSE(60th)
//C++ program to count Vowel and Consonant from a sentence.
//Read the sentence from a file. Use Constructor to read from file.
//Use Method to show output to the user.
https://ideone.com/QzrWPq
This comment has been removed by the author.
DeleteThis comment has been removed by the author.
ReplyDelete
ReplyDeleteMD.Raihan Molla
ID.201910061
CSE(60th)
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
https://ideone.com/wh0GfL
MD.Raihan Molla
ReplyDeleteID.201910061
CSE(60th)
//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
https://ideone.com/izidPG
This comment has been removed by the author.
ReplyDeleteMD.Raihan Molla
ReplyDeleteID.201910061
CSE(60th)
//C++ program for String Array sorting using bubble sort algorithm.
//Show the use of multiple class here. One class must have minimum one method.
https://ideone.com/XAfvuS
MD.Alamin Hosen
ReplyDeleteID.201910261
cse (60th)
https://ideone.com/tzaOvo
This comment has been removed by the author.
ReplyDeleteUse one method with parameter to take full array from main function to sort. No need to return anything from method. Just print the sorted array.
ReplyDeleteMD.Alamin Hosen
ID.201910261
cse (60th)
https://ideone.com/MkriSz#comments
Name:Md.ali zinnah
ReplyDeleteid : 201910567
batch:60th
#include
using namespace std;
class A
{
public:
ifstream file1;
string line;
int cw=0,cs=0;
A()
{
cout<<"\n-------------------Constructor----------------\n";}
void filein()
{
file1.open("alamin.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ') //words count
{
cw++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!') //sentence count
{
cs++;
}
}
}
}
cout<<"Words : "<<cw<<"\nSentences : "<<cs;
file1.close();
}
~A()
{
cout<<"\n\n-------------------Distructor----------------\n";
}
};
int main()
{
A obj;
obj.filein();
}
This comment has been removed by the author.
ReplyDeleteMd.Alamin Hosen
ReplyDeleteID.201910261
batch.60th
https://ideone.com/W5aiqn
// program for Binary Search implementation
ReplyDelete//RabbiIslam Fahim
//ID:201910914
//Batch:60th
#include
#include
using namespace std;
class r
{
public:
int i,n;
void m()
{
cout<<"Enter Total Number :";
cin>>n;
cout<<"Enter"<<" "<>arry[i];
}
cout<<"Enter The Number For Search :";
cin>>srh;
fst=0;
lst=n-1;
mdl=(fst+lst)/2;
while(fstlst)
{
cout<<srh;
}
}
};
class rt:public t
{
public:
void k()
{
m();
l();
cout<<srh<<" "<<"Position"<<" "<<mdl+1<<endl;
}
};
int main()
{
rt obj;
obj.k();
getch();
}
ReplyDeletehw:3 program for String Array sorting using bubble sort algorithm.
//Rabbi Islam Fahim
//ID:201910914
//Batch:60Th
#include
#include
#include
#include
using namespace std;
class r
{
public:
int i,n,j;
char temp;
char str[200];
void input()
{
cout<<"Enter The Word :";
gets(str);
n = strlen(str);
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
{
if(str[i]<str[j])
{
temp=str[i];
str[i]=str[j];
str[j]=temp;
}
}
}
puts(str);
}
};
class t:public r
{
public:
char n1[20];
void ter()
{
n1==("Rabbi Islam Fahim");
cout<<n1<<endl;
}
};
class e:public t
{
public:
~e()
{
//
};
};
int main()
{
e obj;
obj.input();
obj.ter();
getch();
}
ReplyDelete//HW:2 program to count Vowel and Consonant from a sentence.
//Rabbi Islam Fahim
//ID:201910914
//Batch:60th
#include
#include
#include
using namespace std;
class r
{
public:
int v=0,c=0,i;
char str[200];
r()
{
cout<<"Show The count Vowel and Consonant from a sentence"<>str;
for(i=0;str[i]!='\0';i++)
{
if(str[i]=='a' || str[i]=='e' || str[i]=='i' || str[i]=='o' || str[i]=='u')
{
v++;
}
else
{
c++;
}
}
cout<<"Vowel In String :"<<v<<endl;
cout<<"Consonant In String :"<<c<<endl;
cout<<"Thank YOu All (:";
}
};
int main()
{
r obj;
obj.input();
getch();
}
//HW:1 program to count word and sentence
ReplyDelete//Rabbi Islam Fahim
//ID:201910914
//Batch:60th
#include
#include
#include
using namespace std;
using namespace std;
class r
{
public:
int i;
r(int c=0,int s=0)
{
char str[100];
cout<<"Enter a text :"<<endl;
gets(str);
for(i=0;str[i]!='\0';i++)
{
if(str[i]==' ')
c++;
else if(str[i]=='.'|| str[i]=='?'|| str[i]=='!')
s++;
}
cout<<endl<<"Number of words :"<<c+1<<endl;
cout<<"Number of sentences :"<<s<<endl;
}
~r()
{
cout<<"Thank You"<<endl;
}
//getch();
};
int main()
{
r obj;
getch();
}
This comment has been removed by the author.
ReplyDeleteMd.Alamin Hosen
ReplyDeleteID.201910261
Batch.60th
c++ program for Binary Search implementation.
Use Multilevel Inheritance.#include
https://ideone.com/njDezA
ReplyDeleteMd.Raihan Molla
ID.201910061
Batch: 60th
c++ program for Binary Search implementation.
Use Multilevel Inheritance.
#include
using namespace std;
class r
{
public:
int n, i,arr[100], number, first, last, middle;
void inp()
{
cout<<"\nHow many elements would you like to enter?:";
cin>>n;
}
};
class A:public r
{
public:
int a()
{
cout<<"\n***Enter "<>arr[i];
}
}
};
class B:public A
{
public:
int b()
{
cout<<"\nEnter the number that you want to search:";
cin>>number;
first = 0;
last = n-1;
middle = (first+last)/2;
}
};
class C:public B
{
public:
int c()
{
while (first <= last)
{
if(arr[middle] < number)
{
first = middle + 1;
}
else if(arr[middle] == number)
{
cout< last)
{
cout<>arr[i];
}
}
};
class E:public D
{
public:
int e()
{
cout<<"\nEnter the number that you want to search:";
cin>>number;
last= 0;
first= n-1;
middle = (first+last)/2;
}
};
class F:public E
{
public:
int f()
{
while (last<=first)
{
if(arr[middle] > number)
{
last = middle + 1;
}
else if(arr[middle] == number)
{
cout<>z;
if(z==1)
{
C obj;
obj.inp();
obj.a();
obj.b();
obj.c();
}
else
{
F obj;
obj.inp();
obj.d();
obj.e();
obj.f();
}
}
//Full code link :
https://ideone.com/OZ1QdG
ReplyDeleteMd.Raihan Molla
ID.201910061
Batch: 60th
Count number of students above,below and average students Using "C++ Programming"
Use Multilevel Inheritance.
Full code link :
https://ideone.com/uPul3l
ReplyDeleteMd.Raihan Molla
ID.201910061
Batch: 60th
C++ program for Bubble Sort. Use Multiple Inheritance with Pointer Array.
Full code link :
https://ideone.com/whp7Al
MD.Alamin Hosen
ReplyDeleteID.201910261
Batch 60th
C++ program for Bubble Sort. Use Multiple Inheritance with Pointer Array.
Reference: http://c-programming-source.blogspot.com/2014/12/bubble-sort-with-struct-using-c.html
https://ideone.com/x0rTCc
MD.Alamin Hosen
ReplyDeleteID.201910261
Batch 60th
Count number of students above,below and average students Using "C++ Programming"
Reference: http://c-programming-source.blogspot.com/2014/12/count-number-of-students-abovebelow-and.html. Use Multilevel Inheritance.
https://ideone.com/GtJTP4
Name-Towhidul Islam
ReplyDeleteID-201811105
#HW-1
C++ programme to count word and sentence.
#include
#include
using namespace std;
classT
{
public:
int i;
T(string string,int count=0,int tuh=0)
{
for(i=0; i<string.size(); i++)
{
if(string[i]==' '||string[i]=='\n')
count++;
else if(string[i]=='.'||string[i]=='?'||string[i]=='!')
tuh++;
}
cout<<endl<<"Number of words :"<<count+1<<endl;
cout<<"Number of sentences :"< tuh<<endl<<endl;
}
~T()
{
cout<<"End";
}
};
int main()
{
string N;
getline(cin,N,'0');
T obj(N);
}
Name- Mohima Akter
ReplyDeleteID-201811112 batch-57th
#include
using namespace std;
class M
{
public:
ifstream file1;
string line;
int ahi=0,ahi1=0;
M()
{
file1.open("mahi l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ')
{
ahi++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!')
{
ahi1++;
}
}
}
}
file1.close();
}
void HI()
{
cout<<"Words : "<<ahi<<"\nSentences : "<<ahi1;
}
~M()
{
cout<<"\n\nTHE END\n";
}
};
int main()
{
M obj;
obj.HI();
}
Name- Mohima Akter
ReplyDeleteID-201811112 batch-57th
#include
using namespace std;
class M
{
public:
ifstream file1;
string line;
int ahi=0,ahi1=0;
M()
{
file1.open("mahi l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ')
{
ahi++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!')
{
ahi1++;
}
}
}
}
file1.close();
}
void HI()
{
cout<<"Words : "<<ahi<<"\nSentences : "<<ahi1;
}
~M()
{
cout<<"\n\nTHE END\n";
}
};
int main()
{
M obj;
obj.HI();
}
Name- Mohima Akter
ReplyDeleteID-201811112 batch-57th
#include
using namespace std;
class M
{
public:
ifstream file1;
string line;
int v=0,c=0;
M()
{
file1.open("Mahi l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i= 'a' && line[i] <= 'z') ||
(line[i] >= 'A' && line[i] <= 'Z'))
++c;
}
}
}
file1.close();
}
void r()
{
cout << "Number of vowels : " << v<<"\nNumber of consonants : " << c;
}
};
int main()
{
M obj;
obj.r();
}
Name- Mohima Akter
ReplyDeleteID-201811112 batch-57th
#include
using namespace std;
class M
{
public:
int i,j,ah;
void hi(int n,int a[])
{
for(i=1;ia[j+1])
{
ah=a[j];
a[j]=a[j+1];
a[j+1]=ah;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i>d;
cout<>b[i];
M obj;
obj.hi(d,b);
}
Name-Mohima Akter
ReplyDeleteID- 201811112 batch-57th
#include
using namespace std;
class M
{
public:
int i,j,temp,n;
string a;
M()
{
cout<<"Enter a word: ";
cin>>a;
n=a.size();
}
};
class A:public M
{
public:
void uy()
{
for(i=1;itolower(a[j+1]))
{
temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i<n;++i)
cout<<" "<<a[i];
cout<<endl;
}
};
int main()
{
A obj;
obj.uy();
}
Name- Towhidul Islam
ReplyDeleteID-201811105,batch-57th
//C++ programme to count word and sentence
#include
using namespace std;
class T
{
public:
ifstream file1;
string line;
int hin=0,hin1=0;
T()
{
file1.open("Tuhin l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ')
{
hin++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!')
{
hin1++;
}
}
}
}
file1.close();
}
void in()
{
cout<<"Words : "<<hin<<"\nSentences : "<<hin1;
}
~T()
{
cout<<"\n\nTHE END\n";
}
};
int main()
{
T obj;
obj.in();
}
name-Towhidul Islam
ReplyDeleteId-201811105 batch-57th
//c++ programme of vowel an sonsonant
#include
using namespace std;
class T
{
public:
ifstream file1;
string line;
int v=0,c=0;
T()
{
file1.open("tuhin l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i= 'a' && line[i] <= 'z') ||
(line[i] >= 'A' && line[i] <= 'Z'))
++c;
}
}
}
file1.close();
}
void r()
{
cout << "Number of vowels : " << v<<"\nNumber of consonants : " << c;
}
};
int main()
{
T obj;
obj.r();
}
name-Towhidul Islam
ReplyDeleteID-201811105 batch-57th
//bubble sort of given data
#include
using namespace std;
class T
{
public:
int i,j,temp,n;
string a;
T()
{
cout<<"Enter a word: ";
cin>>a;
n=a.size();
}
};
class U:public T
{
public:
void uy()
{
for(i=1;itolower(a[j+1]))
{
temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i<n;++i)
cout<<" "<<a[i];
cout<<endl;
}
};
int main()
{
U obj;
obj.uy();
}
Name-Towhidul Islam
ReplyDeleteid-201811105 batch-57h
//programme of bubble sort using multiple inheritance
and pointer array
#include
using namespace std;
class T
{
public:
int i,j,U;
void uh(int n,int a[])
{
for(i=1;ia[j+1])
{
U=a[j];
a[j]=a[j+1];
a[j+1]=U;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i>d;
cout<>b[i];
T obj;
obj.uh(d,b);
}
name-Mohima Akter
ReplyDeleteID-201811112 batch-57th
//c++ programme to count
word and sentence
#include
using namespace std;
class M
{
public:
ifstream file1;
string line;
int ahi=0,ahi1=0;
M()
{
file1.open("mahi l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ')
{
ahi++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!')
{
ahi1++;
}
}
}
}
file1.close();
}
void HI()
{
cout<<"Words : "<<ahi<<"\nSentences : "<<ahi1;
}
~M()
{
cout<<"\n\nTHE END\n";
}
};
int main()
{
M obj;
obj.HI();
}
name-Mohima Akter
ReplyDeleteID-201811112 batch-57th
//HW : programme of bubble sort algorithm
#include
using namespace std;
class M
{
public:
int i,j,ah;
void hi(int n,int a[])
{
for(i=1;ia[j+1])
{
ah=a[j];
a[j]=a[j+1];
a[j+1]=ah;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i>d;
cout<>b[i];
M obj;
obj.hi(d,b);
}
name-Mohima Akter
ReplyDeleteID-201811112 batch-57th
//bubble sort of a given data from the user
#include
using namespace std;
class M
{
public:
int i,j,temp,n;
string a;
M()
{
cout<<"Enter a word: ";
cin>>a;
n=a.size();
}
};
class A:public M
{
public:
void uy()
{
for(i=1;itolower(a[j+1]))
{
temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i<n;++i)
cout<<" "<<a[i];
cout<<endl;
}
};
int main()
{
A obj;
obj.uy();
}
name-Mohima Akter
ReplyDeleteID-201811112 batch-57th
// programme for vowel and consonant
#include
using namespace std;
class M
{
public:
ifstream file1;
string line;
int v=0,c=0;
M()
{
file1.open("Mahi l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i= 'a' && line[i] <= 'z') ||
(line[i] >= 'A' && line[i] <= 'Z'))
++c;
}
}
}
file1.close();
}
void r()
{
cout << "Number of vowels : " << v<<"\nNumber of consonants : " << c;
}
};
int main()
{
M obj;
obj.r();
}
name-Towhidul Islam
ReplyDeleteID-201811105 batch-57th
//programme of bubbble sort algorithm
#include
using namespace std;
class T
{
public:
int i,j,U;
void uh(int n,int a[])
{
for(i=1;ia[j+1])
{
U=a[j];
a[j]=a[j+1];
a[j+1]=U;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i>d;
cout<>b[i];
T obj;
obj.uh(d,b);
}
Name: Towhidul Islam
ReplyDeleteId:201811105,batch-57th
//count no of students above,below and average
using c++.
#include
using namespace std;
class T
{
public:
int i,n;
int input()
{
cout<<"Enter the number of students:";
cin>>n;
}
};
class A:public T
{
public:
int x=0,y=0,z=0;
int calculation()
{
int a[n];
for(i=0;i>a[i];
}
for(i=0;i60)
x++;
else if(a[i]<60)
y++;
else
z++;
}
}
};
class B:public A
{
public:
int output()
{
cout<<"\n AVERAGE STUDENTS ARE:"<<z<<endl;
cout<<"\n ABOVE AVERAGE STUDENTS ARE:"<<x<<endl;
cout<<"\n BELOW AVERAGE STUDENTS ARE:"<<y<<endl;
}
};
int main()
{
B obj;
obj.input();
obj.calculation();
obj.output();
}
Name: Towhidul Islam
ReplyDeleteId: 201811105,batch-57th
//c++ programme for bubble sort.use
multiple inheritance with pointer array.
#include
using namespace std;
class T
{
public:
int n,i;
int inp()
{
cout<<"\n\n size of array: ";
cin>>n;
cout<>*h;
h++;
}
h=a;
for(i=1;i>*h;
h++;
}
h=a;
for(i=1;i*(h+j))
{
temp=*(h+i);
*(h+i)=*(h+j);
*(h+j)=temp;
}
}
cout<<"\nArray after bubble sort in descending order:";
for(i=0;i>w;
if(w==1)
{
U obj;
obj.inp();
obj.a();
}
else
{
H obj;
obj.inp();
obj.b();
}
}
Name:Towhidul Islam
ReplyDeleteId:201811105,batch-57th
//c++ programme for binary
search implementation
#include
using namespace std;
int a[5]= {1,8,18,21,30},number,last,first=0,mid,n;
class T
{
public:
int i()
{
cout<<" the value:";
cin>>number;
last=5-1;
}
};
class U:public T
{
public:
int h()
{
do
{
mid=(first+last)/2;
if(a[mid]==number)
{
cout<<" location"<<" "<last)
{
cout<<"Element is not found";
}
}
};
int main()
{
N obj;
obj.i();
obj.h();
obj.n();
}
Name: Mohima akter
ReplyDeleteId:201811112,batch-57th
//c++ programme for binary search implementation.
#include
using namespace std;
int a[5]= {1,8,18,21,30},number,last,first=0,mid,n;
class M
{
public:
int l()
{
cout<<" value:";
cin>>number;
last=5-1;
}
};
class I:public M
{
public:
int m()
{
do
{
mid=(first+last)/2;
if(a[mid]==number)
{
cout<<"location"<<" "<last)
{
cout<<"Element is not found";
}
}
};
int main()
{
C obj;
obj.l();
obj.m();
obj.n();
}
Name: Mohima Akter
ReplyDeleteId:201811112,batch-57th
//c++ programme for bubble sort using
multiple inheritance with pointer array.
#include
using namespace std;
class M
{
public:
int n,i;
int inp()
{
cout<<"\n\nEnter the size of array: ";
cin>>n;
cout<>*l;
l++;
}
l=a;
for(i=1;i>*l;
l++;
}
l=a;
for(i=1;i*(l+j))
{
temp=*(l+i);
*(l+i)=*(l+j);
*(l+j)=temp;
}
}
cout<<"\nArray after bubble sort in descending order:";
for(i=0;i>s;
if(s==1)
{
U obj;
obj.inp();
obj.a();
}
else
{
H obj;
obj.inp();
obj.b();
}
}
Name:Mohima akter
ReplyDeleteId: 201811112,batch-57th
//count number of students above below and
average students using in c++ programming.
#include
using namespace std;
class M
{
public:
int i,n;
int input()
{
cout<<" number of students:";
cin>>n;
}
};
class A:public M
{
public:
int x=0,y=0,z=0;
int calculation()
{
int a[n];
for(i=0;i>a[i];
}
for(i=0;i60)
x++;
else if(a[i]<60)
y++;
else
z++;
}
}
};
class H:public A
{
public:
int output()
{
cout<<"\n AVERAGE STUDENTS ARE:"<<z<<endl;
cout<<"\n average STUDENTS ARE:"<<x<<endl;
cout<<"\n AVERAGE STUDENTS ARE:"<<y<<endl;
}
};
int main()
{
H obj;
obj.input();
obj.calculation();
obj.output();
}
This comment has been removed by the author.
ReplyDeleteEva akter
ReplyDeleteID.201910819
CSE(60th)
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
#include
using namespace std;
class E
{
public:
ifstream file1;
string line;
int cw=0,cs=0;
E()
{
cout<<"\n-------------------Constructor----------------\n";}
void filein()
{
file1.open("Eva.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ') //words count
{
cw++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!') //sentence count
{
cs++;
}
}
}
}
cout<<"Words : "<<cw<<"\nSentences : "<<cs;
file1.close();
}
~E()
{
cout<<"\n\n-------------------Distructor----------------\n";
}
};
int main()
{
E obj;
obj.filein();
}
MD.ABU SHAYED
ReplyDeleteID.201710502
CSE(54th)
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
#include
using namespace std;
class A
{
public:
ifstream file1;
string line;
int cw=0,cs=0;
A()
{
cout<<"\nConstructor\n";}
void filein()
{
file1.open("myfile.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ') //words count
{
cw++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!') //sentence count
{
cs++;
}
}
}
}
cout<<"Words : "<<cw<<"\nSentences : "<<cs;
file1.close();
}
~A()
{
cout<<"\n\nDistructor\n";
}
};
int main()
{
A obj;
obj.filein();
}
Robin Ahmed
ReplyDeleteID:201910109
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.#include
using namespace std;
class R
{
public:
ifstream file1;
string line;
int cnt=0,cnt1=0;
R()
{
file1.open("Robin l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ')
{
cnt++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!')
{
cnt1++;
}
}
}
}
file1.close();
}
void r()
{
cout<<"Word : "<<cnt<<"\nSentence : "<<cnt1;
}
~R()
{
cout<<"\n\t\tThank you";
}
};
int main()
{
R obj;
obj.r();
}
Robin Ahmed
ReplyDeleteID:201910109
Batch(60)
//count vowel and consonant from a file.
#include
using namespace std;
class R
{
public:
ifstream file;
string line;
int v=0,c=0;
R()
{
file.open("Robin.txt");
file>>line;
if(file.is_open())
{
while(getline(file,line))
{
for(int i=0;i= 'a' && line[i] <= 'z') ||
(line[i] >= 'A' && line[i] <= 'Z'))
++c;
}
}
}
file.close();
}
void r()
{
cout << "Vowels : " << v<<"\nConsonants : " << c;
}
};
int main()
{
R obj;
obj.r();
}
Sharmin Akter
ReplyDeleteID:201910106
//C++ program to count Vowel and Consonant from a sentence.
//Read the sentence from a file. Use Constructor to read from file.
//Use Method to show output to the user.
https://ideone.com/R0HTMo
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteEva akter
ReplyDeleteid:201910819//C++ program to count Vowel and Consonant from a sentence.
//Read the sentence from a file. Use Constructor to read from file.
//Use Method to show output to the user.
https://ideone.com/PFV7jy
Eva akter
id:201910819
//C++ program to count Vowel and Consonant from a sentence.
//Read the sentence from a file. Use Constructor to read from file.
//Use Method to show output to the user.
https://ideone.com/PFV7jy
This comment has been removed by the author.
ReplyDeleteMd.ali zinnah
ReplyDeleteID: 201910567
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.#include
#include
using namespace std;
class z
{
public:
ifstream file1;
string line;
int cnt=0,cnt1=0;
z()
{
file1.open("zinnah l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ')
{
cnt++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!')
{
cnt1++;
}
}
}
}
file1.close();
}
void z()
{
cout<<"Word : "<<cnt<<"\nSentence : "<<cnt1;
}
~z()
{
cout<<"\n\t\tThank you";
}
};
int main()
{
z obj;
obj.r();
}
Md.Alamin Hosen
ReplyDeleteId.201910261
Batch 60th
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with paramete
https://ideone.com/xS6cdg
Sharmin Akter
ReplyDeleteID:201910106
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
https://ideone.com/qS3QuP
Md.Ali zinnah
ReplyDeleteId: 201910567
Batch: (60th)
//count vowel and consonant from a file.
#include
using namespace std;
class Y
{
public:
ifstream file;
string line;
int v=0,c=0;
Y()
{
file.open("Robin.txt");
file>>line;
if(file.is_open())
{
while(getline(file,line))
{
for(int i=0;i= 'a' && line[i] <= 'z') ||
(line[i] >= 'A' && line[i] <= 'Z'))
++c;
}
}
}
file.close();
}
void y()
{
cout << "Vowels : " << v<<"\nConsonants : " << c;
}
};
int main()
{
Y obj;
obj.y();
}
Eva akter
ReplyDeleteid:201910819
//C++ program for String Array sorting using bubble sort algorithm.
//Show the use of multiple class here. One class must have minimum one method.
https://ideone.com/cJSyKM
PB:7
ReplyDelete·Count number of students above, below and average students Using "C++ Programming"
//Rabbi Islam Fahim
//ID:201910914
//Batch:60th
#include
#include
using namespace std;
class R
{
public:
int i,n;
int t()
{
cout<<"Enter the students number :"<>n;
}
};
class S:public R
{
public:
int p=0,q=0,r=0;
int input()
{
int a[n];
for(i=0;i>a[i];
}
for(i=0;i60)
p++;
else if(a[i]<60)
q++;
else if(a[i]=60)
r++;
}
}
};
class I:public S
{
public:
int output()
{
cout<<"Average Students :"<<p<<endl;
cout<<"Below Average Students :"<<q<<endl;
cout<<"Low Average Students :"<<r<<endl;
}
};
int main()
{
I ts;
ts.t();
ts.input();
ts.output();
getch ();
}
Sharmin Akter
ReplyDeleteID:201910106
//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
https://ideone.com/BE2jlz
Sharmin Akter
ReplyDeleteID:201910106
//C++ program for String Array sorting using bubble sort algorithm.
//Show the use of multiple class here. One class must have minimum one method.
https://ideone.com/cJSyKM
https://ideone.com/Tx37Xu
Eva akter
ReplyDeleteid:201910819
//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
https://ideone.com/DVxtPr
Sharmin Akter
ReplyDeleteID:201910106
c++ program for Binary Search implementation.
Use Multilevel Inheritance.
https://ideone.com/M5mSUH
Name- Towhidul Islam
ReplyDeleteId- 201811105 batch-57th
//HW-addition of two numbers,without using arithmatic operators like "+"
#include
using namespace std;
class tuhin
{
public:
int m,a,carry;
b(int m,int a)
{
cout<<"enter the two number :\n";
while(a!=0)
{
carry= m&a;
m= m^a;
a= carry<<1;
}
cout<<" sum "<<":"<<m;
return 0;
}
};
int main()
{
tuhin obj;
obj.b(12,174);
}
Eva akter
ReplyDeleteid:201910819
c++ program for Binary Search implementation.
Use Multilevel Inheritance.
https://ideone.com/ch54O8
Sharmin Akter
ReplyDeleteID:201910106
Count number of students above,below and average students Using "C++ Programming"
Use Multilevel Inheritance.
https://ideone.com/XaiuLn
Md Rabiul Auwal
ReplyDeleteid:201911082
batch 60th
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with parameter
#include
using namespace std;
class R
{
public:
int a,b,carry;
v(int a,int b)
{
cout<<"Enter 2 number witch you want to add:\n";
//cin>>x>>y;
while(b!=0)
{
carry=a&b;
a=a^b;
b=carry<<1;
}
cout<<"Addition is"<<":"<<a;
return 0;
}
};
int main()
{
R obj;
obj.v(5,4);
//obj.c();
}
Eva akter
ReplyDeleteid:201910819
Count number of students above,below and average students Using "C++ Programming"
Use Multilevel Inheritance.
https://ideone.com/ss72OV
Md.Alamin Hosen
ReplyDeleteId.201910261
Batch 60th
Write a demo "C++ Program" which represent the ATM transaction. Use Data Abstraction.
https://ideone.com/8OQaWV
md:Robiul Auwal
ReplyDeleteid 201911082
Count number of students above,below and average students Using "C++ Programming"
Use Multilevel Inheritance.
https://ideone.com/XaiuLn
Md Raihan Molla
ReplyDeleteID : 201910061
CSE (60th)
// Descending an Array using "C++ Programming". Use Constructor.
Code link:
https://ideone.com/BYMvLj
Eva akter
ReplyDeleteid:201910819
C++ program for Bubble Sort. Use Multiple Inheritance with Pointer Array.
https://ideone.com/rrXRry
Sharmin Akter
ReplyDeleteID:201910106
C++ program for Bubble Sort. Use Multiple Inheritance with Pointer Array.
https://ideone.com/7C2a3T
Md.Alamin Hosen
ReplyDeleteid.201910261
Batch 60th
Descending an Array using "C++ Programming". Use Constructor.
https://ideone.com/nr2eAt
Eva akter
ReplyDeleteid:201910819
Descending an Array using "C++ Programming". Use Constructor.
https://ideone.com/6ZECpg
Sharmin Akter
ReplyDeleteID:201910106
// Descending an Array using "C++ Programming". Use Constructor.
https://ideone.com/N4fkgJ
This comment has been removed by the author.
ReplyDeleteSharmin Akter
ReplyDeleteID:2019101066
Write a demo "C++ Program" which represent the ATM transaction. Use Data Abstraction.
https://ideone.com/MEjltZ
Eva akter
ReplyDeleteid:201910819
Write a demo "C++ Program" which represent the ATM transaction. Use Data Abstraction.https://ideone.com/ImTewk
ReplyDeleteSharmin Akter
ID:2019101066
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with paramete
https://ideone.com/KmWcLu
Md Raihan Molla
ReplyDeleteId : 201910061
CSE 60th
// Constants usage in "C++ Programming". Use Encapsulation.
Code link :
https://ideone.com/FUqR25
Md Raihan Molla
ReplyDeleteId : 201910061
CSE 60th
Write a demo "C++ Program" which represent the ATM transaction. Use Data Abstraction.
Code link :
https://ideone.com/xA2DRs
Md Raihan Molla
ReplyDeleteId : 201910061
CSE 60th
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with parameter.
Code link :
https://ideone.com/8F1hHf
Md Raihan Molla
ReplyDeleteID : 201910061
CSE 60th
Add two Matrices and store the result into another Matrices using "C++ Programming" . Use at least one Method with return type.
Code link :
https://ideone.com/GEQYX7
******************[ All Lab Work are Solved ]***********************
**************************[ The End ]*******************************
Eva akter
ReplyDeleteid:201910819
hw:11
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with paramete
https://ideone.com/GsPMtf
Eva akter
ReplyDeleteid:201910819
// Constants usage in "C++ Programming". Use Encapsulation.
https://ideone.com/iuaBED
Eva akter
ReplyDeleteid:201910819
batch:60th
Add two Matrices and store the result into another Matrices using "C++ Programming" . Use at least one Method with return type.
https://ideone.com/vGWp6u
####THE END####
This comment has been removed by the author.
ReplyDeleteSharmin akter
ReplyDeleteid:201910106
// Constants usage in "C++ Programming". Use Encapsulation.
Sharmin akter
ReplyDeleteid:201910106
Add two Matrices and store the result into another Matrices using "C++ Programming" . Use at least one Method with return type
https://ideone.com/fKuW5G
MD.Alamin Hosen
ReplyDeleteID.201910261
batch 60th
Add two Matrices and store the result into another Matrices using "C++
https://ideone.com/vu4RT4
Add two Matrices and store the result into another Matrices using "C++
ReplyDeleteRabiul Auwal
CSE 60th
id 201911082
#include
using namespace std;
class R
{
public:
int a[3][3],b[3][3],c[3][3],i,j;
R()
{
cout<<"Enter the elements into matrix A :\n";
for(i=0;i<3;i++)
for(j=0;j<3;j++)
{
cout<<"a["<>a[i][j];
}
cout<<"\nEnter the elements into matrix B :\n";
for(i=0;i<3;i++)
for(j=0;j<3;j++)
{
cout<<"b["<>b[i][j];
}
for(i=0;i<3;i++)
for(j=0;j<3;j++)
c[i][j]=a[i][j]+b[i][j];
cout<
using namespace std;
class R
{
public:
int a[3][3],b[3][3],c[3][3],i,j;
R()
{
cout<<"Enter the elements into matrix A :\n";
for(i=0;i<3;i++)
for(j=0;j<3;j++)
{
cout<<"a["<>a[i][j];
}
cout<<"\nEnter the elements into matrix B :\n";
for(i=0;i<3;i++)
for(j=0;j<3;j++)
{
cout<<"b["<>b[i][j];
}
for(i=0;i<3;i++)
for(j=0;j<3;j++)
c[i][j]=a[i][j]+b[i][j];
cout<<endl;
}
int out()
{
cout<<"\nSummation of A and B matrix : \n";
cout<<endl;
for(i=0;i<3;i++)
{
cout<<" ";
for(j=0;j<3;j++)
cout<<c[i][j]<<" ";
cout<<endl<<endl;
}
}
};
int main()
{
R obj;
obj.out();
return 0;
}
Name: Md.ali zinnah
ReplyDeleteId: 201910567
Batch: (60th)
#include
using namespace std;
class Z
{
public:
int a[3][3],b[3][3],c[3][3],i,j;
Z()
{
cout<<"Enter the elements into matrix A :\n";
for(i=0;i<3;i++)
for(j=0;j<3;j++)
{
cout<<"a["<>a[i][j];
}
cout<<"\nEnter the elements into matrix B :\n";
for(i=0;i<3;i++)
for(j=0;j<3;j++)
{
cout<<"b["<>b[i][j];
}
for(i=0;i<3;i++)
for(j=0;j<3;j++)
c[i][j]=a[i][j]+b[i][j];
cout<
using namespace std;
class Z
{
public:
int a[3][3],b[3][3],c[3][3],i,j;
Z()
{
cout<<"Enter the elements into matrix A :\n";
for(i=0;i<3;i++)
for(j=0;j<3;j++)
{
cout<<"a["<>a[i][j];
}
cout<<"\nEnter the elements into matrix B :\n";
for(i=0;i<3;i++)
for(j=0;j<3;j++)
{
cout<<"b["<>b[i][j];
}
for(i=0;i<3;i++)
for(j=0;j<3;j++)
c[i][j]=a[i][j]+b[i][j];
cout<<endl;
}
int out()
{
cout<<"\nSummation of A and B matrix : \n";
cout<<endl;
for(i=0;i<3;i++)
{
cout<<" ";
for(j=0;j<3;j++)
cout<<c[i][j]<<" ";
cout<<endl<<endl;
}
}
};
int main()
{
Z obj;
obj.out();
return 0;
}
Name: Md. ali zinnah
ReplyDeleteId: 201910567
Batch: (60th)
#include
using namespace std;
class Z
{
public:
int x,y,carry;
v(int x,int y)
{
cout<<"Enter 2 number witch you want to add:\n";
//cin>>x>>y;
while(y!=0)
{
carry=x&y;
x=x^y;
y=carry<<1;
}
cout<<"Addition is"<<":"<<x;
return 0;
}
};
int main()
{
Z obj;
obj.v(5,4);
}
Name : Md. ali Zinnah
ReplyDeleteId: 201910567
Batch: (60th)
#include
using namespace std;
class Z
{
public:
ifstream file1;
string line;
int cw=0,cs=0;
Z()
{
cout<<"\n-------Constructor-------\n";}
void filein()
{
file1.open("alamin.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ') //words count
{
cw++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!') //sentence count
{
cs++;
}
}
}
}
cout<<"Words : "<<cw<<"\nSentences : "<<cs;
file1.close();
}
~Z()
{
cout<<"\n\n-------------------Distructor----------------\n";
}
};
int main()
{
Z obj;
obj.filein();
}
Name: Md. ali zinnah
ReplyDeleteID: 201910567
Batch: (60th)
#include
#include
using namespace std;
class r
{
public:
int i,n;
void m()
{
cout<<"Enter Total Number :";
cin>>n;
cout<<"Enter"<<" "<>arry[i];
}
cout<<"Enter The Number For Search :";
cin>>srh;
fst=0;
lst=n-1;
mdl=(fst+lst)/2;
while(fstlst)
{
cout<<srh;
}
}
};
class rt:public t
{
public:
void k()
{
m();
l();
cout<<srh<<" "<<"Position"<<" "<<mdl+1<<endl;
}
};
int main()
{
rt obj;
obj.k();
getch();
}
Name: Md.ali zinnah
ReplyDeleteId: 201910567
Batch: (60th)
#include
#include
#include
#include
using namespace std;
class z
{
public:
int i,n,j;
char temp;
char str[200];
void input()
{
cout<<"Enter The Word :";
gets(str);
n = strlen(str);
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
{
if(str[i]<str[j])
{
temp=str[i];
str[i]=str[j];
str[j]=temp;
}
}
}
puts(str);
}
};
class t:public z
{
public:
char n1[20];
void ter()
{
n1==("Rabbi Islam Fahim");
cout<<n1<<endl;
}
};
class y:public t
{
public:
~y()
{
//
};
};
int main()
{
y obj;
obj.input();
obj.ter();
getch();
}
Name: Md.ali zinnah
ReplyDeleteId: 201910567
Batch: (60th)
#include
#include
#include
using namespace std;
using namespace std;
class z
{
public:
int i;
z(int a=0,int b=0)
{
char str[100];
cout<<"Enter a text :"<<endl;
gets(str);
for(i=0;str[i]!='\0';i++)
{
if(str[i]==' ')
a++;
else if(str[i]=='.'|| str[i]=='?'|| str[i]=='!')
b++;
}
cout<<endl<<"Number of words :"<<a+1<<endl;
cout<<"Number of sentences :"<<b<<endl;
}
~z()
{
cout<<"Thank You"<<endl;
}
//getch();
};
int main()
{
z obj;
getch();
}
Name: Md.ali zinnah
ReplyDeleteID: 201910567
Batch: (60th)
#include
using namespace std;
class z
{
public:
int n, i,arr[100], number, first, last, middle;
void inp()
{
cout<<"\nHow many elements would you like to enter?:";
cin>>n;
}
};
class A:public z
{
public:
int a()
{
cout<<"\n***Enter "<>arr[i];
}
}
};
class B:public A
{
public:
int b()
{
cout<<"\nEnter the number that you want to search:";
cin>>number;
first = 0;
last = n-1;
middle = (first+last)/2;
}
};
class C:public B
{
public:
int c()
{
while (first <= last)
{
if(arr[middle] < number)
{
first = middle + 1;
}
else if(arr[middle] == number)
{
cout< last)
{
cout<>arr[i];
}
}
};
class E:public D
{
public:
int e()
{
cout<<"\nEnter the number that you want to search:";
cin>>number;
last= 0;
first= n-1;
middle = (first+last)/2;
}
};
class F:public E
{
public:
int f()
{
while (last<=first)
{
if(arr[middle] > number)
{
last = middle + 1;
}
else if(arr[middle] == number)
{
cout<>z;
if(z==1)
{
C obj;
obj.inp();
obj.a();
obj.b();
obj.c();
}
else
{
F obj;
obj.inp();
obj.d();
obj.e();
obj.f();
}
}
Name: Md.ali zinnah
ReplyDeleteId: 201910567
Batch: (60th)
#include
using namespace std;
class z
{
public:
ifstream file1;
string line;
int v=0,c=0;
z()
{
file1.open("Mahi l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i= 'a' && line[i] <= 'z') ||
(line[i] >= 'A' && line[i] <= 'Z'))
++c;
}
}
}
file1.close();
}
void r()
{
cout << "Number of vowels : " << v<<"\nNumber of consonants : " << c;
}
};
int main()
{
z obj;
obj.r();
}
// MD.RAFSAN HABIB
ReplyDelete// ID. 201730597
//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
#include
using namespace std;
class f
{
public:
ifstream file1;
string line;
int cnt=0,cnt1=0;
f()
{
file1.open("Rafsan l.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ')
{
cnt++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!')
{
cnt1++;
}
}
}
}
file1.close();
}
void r()
{
cout<<"Words : "<<cnt<<"\nSentences : "<<cnt1;
}
~f()
{
cout<<"\n\n**********THE END**************\n";
}
};
int main()
{
f obj;
obj.r();
}
Farzana Akter
ReplyDeleteId:201811155
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
https://ideone.com/hO3c9L
Farzana Akter
ReplyDeleteid:201811155
batch:57
//HW:2 program to count Vowel and Consonant from a sentence.
https://ideone.com/UGcVmS
Farzana Akter
ReplyDeleteid:201811155
batch:57
//C++ program for String Array sorting using bubble sort algorithm.
//Show the use of multiple class here. One class must have minimum one method.
https://ideone.com/FzyZkD
Farzana Akter
ReplyDeleteid:201811155
batch:57
C++ program for Bubble Sort. Use Multiple Inheritance with Pointer Array.
https://ideone.com/cSnoPX
ReplyDeleteFarzana Akter
id:201811155
batch:57
//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
https://ideone.com/2x8pLR
MD.Alamin
ReplyDeleteID.201910261
CSE(60th)
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
#include
using namespace std;
class A
{
public:
ifstream file1;
string line;
int cw=0,cs=0;
A()
{
cout<<"\n-------------------Constructor----------------\n";}
void filein()
{
file1.open("alamin.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ') //words count
{
cw++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!') //sentence count
{
cs++;
}
}
}
}
cout<<"Words : "<<cw<<"\nSentences : "<<cs;
file1.close();
}
~A()
{
cout<<"\n\n-------------------Distructor----------------\n";
}
};
int main()
{
A obj;
obj.filein();
}
This comment has been removed by the author.
ReplyDeleteMd Rabiul Auwal
ReplyDeleteID.201911082
CSE(60th)
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
#include
using namespace std;
class A
{
public:
ifstream file1;
string line;
int cw=0,cs=0;
A()
{
cout<<"\n-------------------Constructor----------------\n";}
void filein()
{
file1.open("rabiul.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ') //words count
{
cw++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!') //sentence count
{
cs++;
}
}
}
}
cout<<"Words : "<<cw<<"\nSentences : "<<cs;
file1.close();
}
~A()
{
cout<<"\n\n-------------------Distructor----------------\n";
}
};
int main()
{
A obj;
obj.filein();
}
Farzana Akter
ReplyDeleteid:201811155
//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
deone.com/V5oHKM
//No need to return anything from method. Just print the sorted array.
Farzana Akter
ReplyDeleteID:201811155
c++ program for Binary Search implementation.
Use Multilevel Inheritance.
https://ideone.com/TRf8EP
Sharmin Akter
ReplyDeleteID:201910106
Count number of students above,below and average students Using "C++ Programming"
Use Multilevel Inheritance
https://ideone.com/0xQxW2
Farzana Akter
ReplyDeleteid.201811155
Batch 57
Descending an Array using "C++ Programming". Use Constructor.
https://ideone.com/AmhrrB
Farzana Akter
ReplyDeleteid:201811155
// Constants usage in "C++ Programming". Use Encapsulation.
https://ideone.com/L0s5f6
Farzana ritu
ReplyDeleteID:201811155
Write a demo "C++ Program" which represent the ATM transaction. Use Data Abstraction.
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHW:8- addition of two numbers without using arithmetic operator like "+" using C++ programming.
ReplyDeleteName- Mohima akter
Id-201811112,batch-57th
https://ideone.com/JJ4QYG
Farzana Akter
ReplyDeleteId : 201811155
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with parameter.
https://ideone.com/c0T1JE
Farzana Akter
ReplyDeleteid:201811155
Add two Matrices and store the result into another Matrices using "C++ Programming" . Use at least one Method with return.
https://ideone.com/Oc4ozi
Name Towhidul Islam
ReplyDeleteId-201811105,batch-57th
HW9: ATM transection demo.
https://ideone.com/eR8SU3
This comment has been removed by the author.
ReplyDeleteHw10: Descending an array using c++
ReplyDeleteName: Towhidul Islam
Id-201811105,batch-57th
https://ideone.com/7DDGFu
Hw10: An array in descending order using c++.
ReplyDeleteName: Mohima akter
Id:201811112,batch-57th
https://ideone.com/QqoLca
ReplyDeleteHW9: demo of atm transaction using c++ and abstraction.
Name: Mohima akter
Id-201811112,batch-57th
https://ideone.com/zZyRa3
Name-Towhidul Islam
ReplyDeleteID-201811105,batch-57th
HW11-Constant using in c++ programming.
https://ideone.com/RPFNSz
Name-Mohima Akter
ReplyDeleteId-201811112,batch-57th
HW-11 Constant using in c++.
https://ideone.com/Gslz3g
This comment has been removed by the author.
ReplyDeleteName-Mohima Akter,
ReplyDeleteId-201811112,batch-57th
Hw12-Add two matrices and store the result into another matrices using c++ programming.
https://ideone.com/3putfu
**************** all solved*************
The End
HW12-Add 2 matrices and store the result into another using C++.
ReplyDeleteName-Towhidul Islam
Id-201811105,batch-57th
https://ideone.com/crgeeE
+++++++++++ all problem submitted +++++++++++
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 02:
//C++ program to count Vowel and Consonant from a sentence.
//Read the sentence from a file. Use Constructor to read from file.
//Use Method to show output to the user.
https://ideone.com/rotNmE
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 01:
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
https://ideone.com/UFjLks
Name: Md.ali zinnah
DeleteId: 201910567
Batch: 60th
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
https://ideone.com/7kCKws
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 03:
//C++ program for String Array sorting using bubble sort algorithm.
//Show the use of multiple class here. One class must have minimum one method.
https://ideone.com/686ijt
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 04:
//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
https://ideone.com/OAOZxf
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 05:
C++ program for Bubble Sort. Use Multiple Inheritance with Pointer Array.
https://ideone.com/hsa0Ob
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 06:
c++ program for Binary Search implementation.
Use Multilevel Inheritance.
https://ideone.com/2ZOyxy
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 07:
Count number of students above,below and average students Using "C++ Programming"
Use Multilevel Inheritance.
https://ideone.com/gpgMoe
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 08:
Constants usage in "C++ Programming". Use Encapsulation
https://ideone.com/mSfVvi
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 09:
"C++ Program" which represent the ATM transaction. Use Data Abstraction.
https://ideone.com/zGazyg
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 10:
Descending an Array using "C++ Programming". Use Constructor.
https://ideone.com/wTHV0z
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 11:
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with parameter.
https://ideone.com/u5S1Yz
MD Aminul Islam Anik
ReplyDeleteID: 201910353
60th batch
Lab work 03
Problem 12:
Add two Matrices and store the result into another Matrices using "C++ Programming" . Use at least one Method with return type.
https://ideone.com/92EQkw
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with parameter.
ReplyDeleteMd Rabiul Auwal
id 201911082
CSE 60th
#include
using namespace std;
class R
{
public:
int sum;
R(int a,int b)
{
sum = a - (-b);
cout<<"\nSum of two numbers is: "<>m;
cout<<"Enter the second number: ";
cin>>n;
R obj(m,n);
return 0;
}
Write a demo "C++ Program" which represent the ATM transaction. Use Data Abstraction.
ReplyDeleteMd Rabiul Auwal
id 201911082
CSE 60th
#include
using namespace std;
class Rabiul
{
public:
int choice,a=10000,b;
Rabiul()
{
cout<<"\n********Welcome to ATM Service**************\n";
cout<<"1. Credit\n";
cout<<"2. Debit\n";
cout<<"3. Check Balance\n\n";
cout<<"********************************************\n\n";
cout<<"Enter your choice: ";
cin>>choice;
}
int out()
{
switch(choice)
{
case 1:
cout<<"\n\nEnter credit amount :";
cin>>b;
a=a+b;
cout<<"\n\nNew amount : "<>b;
if(a>=b)
{
a=a-b;
cout<<"\n\nNew amount : "<<a;
}
else
{
cout<<"\n\nInsufficient amount in your account.\n";
}
break;
case 3:
cout<<"\n\nAmount in your account : "<<a;
break;
default:
cout<<"\n\nInvalid Choice.";
}
}
~Rabiul()
{
cout<<"\n\nThank you for using ATM.\n"
"Have a nice day.\n\n";
cout<<"*************[ The End ]*************\n\n";
}
};
int main()
{
rabiul obj;
obj.out();
}
// Constants usage in "C++ Programming". Use Encapsulation
ReplyDeleteMd Rabiul Auwal
id 201911082
CSE 60th
#include
#define extra 5
using namespace std;
class Rabiul
{
private:
int marks;
public:
int new_marks;
int inp(int n)
{
marks=n;
}
int out()
{
if(marks<40)
{
new_marks=marks+extra;
if(new_marks>=40)
{
cout<<"\nYou had failed in the exam.\n\n"
"I give you extra 5 marks.\n\n"
"Now you have passed in the exam.\n\n"
"You have to read attentively.\n\n";
}
else
{
cout<<"\nYou had failed in the exam.\n\n"
"I give you extra 5 marks.\n\n"
"Now you have failed again.\n\n"
"Very weak.\n\n"
"You have to study more and more.\n\n";
}
}
else
{
cout<<"\nYou have passed in the exam.\n\n"
"Good job my boy.\n\n";
}
}
};
int main()
{
int a;
cout<<"Enter your marks :";
cin>>a;
Rabiul obj;
obj.inp(a);
obj.out();
}
Name : Md.ali zinnah
ReplyDeleteid : 201910567
Batch: 60th
problem: 2
//C++ program to count Vowel and Consonant from a sentence.
//Read the sentence from a file. Use Constructor to read from file.
//Use Method to show output to the user.
https://ideone.com/KgfaMZ
Name: Md.ali zinnah
ReplyDeleteId: 201910567
Batch: 60th
Problem :3
//C++ program for String Array sorting using bubble sort algorithm.
//Show the use of multiple class here. One class must have minimum one method.
https://ideone.com/sOs5FO
Jhumur Akter
ReplyDeleteID.201910687
60th
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
#include
using namespace std;
class A
{
public:
ifstream file1;
string line;
int cw=0,cs=0;
A()
{
cout<<"\n-------------------Constructor----------------\n";}
void filein()
{
file1.open("alamin.txt");
file1>>line;
if(file1.is_open())
{
while(getline(file1,line))
{
for(int i=0;i<line.size();i++)
{
if(line[i]==' ') //words count
{
cw++;
}
else if(line[i]=='.'||line[i]=='?'||line[i]=='!') //sentence count
{
cs++;
}
}
}
}
cout<<"Words : "<<cw<<"\nSentences : "<<cs;
file1.close();
}
~A()
{
cout<<"\n\n-------------------Distructor----------------\n";
}
};
int main()
{
A obj;
obj.filein();
}
Jhumur Akter
ReplyDeleteID.201910687
60th
//C++ program to count Vowel and Consonant from a sentence. Read the sentence from a file.
//Use Constructor to read from file.
// Use Method to show output to the user.
#include
using namespace std;
class A
{
public:
ifstream file1;
string str;
int cv=0,cs=0;
A()
{
cout<<"\n-------------------Constructor----------------\n";
}
void filein()
{
file1.open("vc.txt");
while(file1>>str)
{
for(int i = 0; i='a'&& str[i]<='z') //consonant count
{
cs++;
}
}
}
cout<<"Vowel : "<<cv<<"\nConsonant : "<<cs;
}
};
int main()
{
A obj;
obj.filein();
}
Name:Md.ali zinnah
ReplyDeleteId: 201910567
Batch:60th
Problem: 4
//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
https://ideone.com/MyMFuv
Jhumur Akter
ReplyDeleteID.201910687
60th
Use one method with parameter to take full array from main function to sort. No need to return anything from method. Just print the sorted array.
https://ideone.com/VVOv11
Name: Md.ali zinnah
ReplyDeleteId: 201910567
Batch: 60th
problem: 5
C++ program for Bubble Sort. Use Multiple Inheritance with Pointer Array.
https://ideone.com/xrdBzq
Jhumur Akter
ReplyDeleteID.201910687
60th
https://ideone.com/zJYcpr
Name: Md.ali zinnah
ReplyDeleteId: 201910567
Batch: 60th
problem: 6
c++ program for Binary Search implementation.
Use Multilevel Inheritance.
https://ideone.com/mkeFax
Jhumur Akter
ReplyDeleteID.201910687
60th
https://ideone.com/0EQ0B9
Name: Md.ali zinnah
ReplyDeleteid: 201910567
Batch: 60th
Problem:7
//Count number of students above,below and average students Using "C++ Programming"
Use Multilevel Inheritance.
https://ideone.com/3npPIC
Jhumur Akter
ReplyDeleteID.201910687
60th
https://ideone.com/rocasz
Name: Md.ali zinnah
ReplyDeleteId: 201910567
Batch:60th
problem: 8
//Constants usage in "C++ Programming". Use Encapsulation
https://ideone.com/WvVLuJ
Name: Md.ali zinnah
ReplyDeleteid: 201910567
Batch: 60th
problem 9
"C++ Program" which represent the ATM transaction. Use Data Abstraction.
https://ideone.com/afmDJF
Jhumur Akter
ReplyDeleteID.201910687
60th
Count number of students above,below and average students Using "C++ Programming"
Reference: http://c-programming-source.blogspot.com/2014/12/count-number-of-students-abovebelow-and.html. Use Multilevel Inheritance.
https://ideone.com/3xvxT8
Name: Md.ali zinnah
ReplyDeleteid: 201910567
Batch: 60th
problem: 10
//Descending an Array using "C++ Programming". Use Constructor.
https://ideone.com/9GsWJw
Jhumur Akter
ReplyDeleteID.201910687
60th
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with paramete
https://ideone.com/6DREHL
Write a demo "C++ Program" which represent the ATM transaction. Use Data Abstraction.
ReplyDeleteJhumur Akter
ID.201910687
60th
https://ideone.com/6C3iLQ
Jhumur Akter
ReplyDeleteID.201910687
60th
Add two Matrices and store the result into another Matrices using "C++
https://ideone.com/8o9Byi
Name: Md.ali zinnah
ReplyDeleteId: 201910567
Batch: 60th
problem: 11
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with parameter.
https://ideone.com/Jnu85m
Name: Md.ali zinnah
ReplyDeleteId:201910567
Bacth:60th
problem:12
//Add two Matrices and store the result into another Matrices using "C++ Programming" . Use at least one Method with return type.
https://ideone.com/LChVSj
Kawsar ahmed
ReplyDeleteId.201910560
60th
https://ideone.com/eF2tvH
Robin Ahmed
ReplyDeleteID:201910109
#include
using namespace std;
class r
{
public:
int i,j,temp;
void bs(int a,int b[])
{
for(i=1;ib[j+1])
{
temp=b[j];
b[j]=b[j+1];
b[j+1]=temp;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i>d;
cout<>b[i];
r obj;
obj.bs(d,b);
}
//C++ program to count Vowel and Consonant from a sentence. Read the sentence from a file.
ReplyDelete//Use Constructor to read from file.
// Use Method to show output to the user.
Kawsar ahmed
Id.201910560
60th
https://ideone.com/onrLDi
Use one method with parameter to take full array from main function to sort. No need to return anything from method. Just print the sorted array.
ReplyDeleteKawsar ahmed
Id.201910560
60th
https://ideone.com/qq9SGK
Kawsar ahmed
ReplyDeleteId.201910560
60th
https://ideone.com/po35gf
Kawsar ahmed
ReplyDeleteId.201910560
60th
https://ideone.com/DncnPr
// Descending an Array using "C++ Programming". Use Constructor.
ReplyDeletemd Rabiul Auwal
id 201911082
CSE 60th
#include
using namespace std;
class r
{
public:
int i,j,temp;
r(int n,int a[])
{
for(i=1;i>d;
cout<>b[i];
r obj(d,b);
}
Kawsar ahmed
ReplyDeleteId.201910560
60th
https://ideone.com/H2iSB6
C++ program for Bubble Sort. Use Multiple Inheritance with Pointer Array.
ReplyDeleteMd Rabiul Auwal
id 201911082
CSE 60th
#include
using namespace std;
class R
{
public:
int n,i;
int inp()
{
cout<<"\n\nEnter the size of array: ";
cin>>n;
cout<>*p;
p++;
}
p=a;
for(i=1;i>*p;
p++;
}
p=a;
for(i=1;i*(p+j))
{
temp=*(p+i);
*(p+i)=*(p+j);
*(p+j)=temp;
}
}
cout<<"\nArray after bubble sort in descending order:";
for(i=0;i>z;
if(z==1)
{
A obj;
obj.inp();
obj.a();
}
else
{
B obj;
obj.inp();
obj.b();
}
}
Count number of students above,below and average students Using "C++ Programming"
ReplyDeleteUse Multilevel Inheritance.
Md Rabiul Auwal
id 201911082
CSE 60th
#include
using namespace std;
class R
{
public:
int i,n;
int inp()
{
cout<<"Enter the students number:";
cin>>n;
}
};
class A:public R
{
public:
int x=0,y=0,z=0;
int cal()
{
int a[n];
for(i=0;i>a[i];
}
for(i=0;i60)
x++;
else if(a[i]<60)
y++;
else
z++;
}
}
};
class B:public A
{
public:
int out()
{
cout<<"\nNUMBER OF AVERAGE STUDENTS ARE:"<<z<<endl;
cout<<"\nNUMBER OF ABOVE AVERAGE STUDENTS ARE:"<<x<<endl;
cout<<"\nNUMBER OF BELOW AVERAGE STUDENTS ARE:"<<y<<endl;
}
};
int main()
{
B obj;
obj.inp();
obj.cal();
obj.out();
}
Md Rabiul Auwal
ReplyDeleteBatch: 60th
id 201911082
c++ program for Binary Search implementation.
Use Multilevel Inheritance.
#include
using namespace std;
class r
{
public:
int n, i,arr[100], number, first, last, middle;
void inp()
{
cout<<"\nHow many elements would you like to enter?:";
cin>>n;
}
};
class A:public r
{
public:
int a()
{
cout<<"\n***Enter "<>arr[i];
}
}
};
class B:public A
{
public:
int b()
{
cout<<"\nEnter the number that you want to search:";
cin>>number;
first = 0;
last = n-1;
middle = (first+last)/2;
}
};
class C:public B
{
public:
int c()
{
while (first <= last)
{
if(arr[middle] < number)
{
first = middle + 1;
}
else if(arr[middle] == number)
{
cout< last)
{
cout<>arr[i];
}
}
};
class E:public D
{
public:
int e()
{
cout<<"\nEnter the number that you want to search:";
cin>>number;
last= 0;
first= n-1;
middle = (first+last)/2;
}
};
class F:public E
{
public:
int f()
{
while (last<=first)
{
if(arr[middle] > number)
{
last = middle + 1;
}
else if(arr[middle] == number)
{
cout<>z;
if(z==1)
{
C obj;
obj.inp();
obj.a();
obj.b();
obj.c();
}
else
{
F obj;
obj.inp();
obj.d();
obj.e();
obj.f();
}
}
ReplyDelete//C++ program for String Array sorting using bubble sort algorithm.
//Show the use of multiple class here. One class must have minimum one method.
Md Rabiul Auwal
id 201911082
CSE 60th
#include
using namespace std;
class r
{
public:
int i,j,temp,n;
string a;
r()
{
cout<<"Enter a word: ";
cin>>a;
n=a.size();
}
};
class s:public r
{
public:
void uy()
{
for(i=1;itolower(a[j+1]))
{
temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i<n;++i)
cout<<" "<<a[i];
cout<<endl;
}
};
int main()
{
s obj;
obj.uy();
}
//C++ program for Bubble Sort of a given data from user.
ReplyDelete//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
Md Rabiul Auwal
id 201911082
CSE 60th
#include
using namespace std;
class r
{
public:
int i,j,temp;
void bs(int n,int a[])
{
for(i=1;ia[j+1])
{
temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i>d;
cout<>b[i];
r obj;
obj.bs(d,b);
}
ReplyDelete//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
Md Rabiul Auwal
id 201911082
CSE 60th
#include
using namespace std;
class r
{
public:
int i,j,temp;
void bs(int n,int a[])
{
for(i=1;ia[j+1])
{
temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
}
cout<<"\nArray after bubble sort:";
for(i=0;i>d;
cout<>b[i];
r obj;
obj.bs(d,b);
}
This comment has been removed by the author.
ReplyDeleteMd. Abdul Karim
ReplyDeleteId: 201910508
60th batch
//C++ program to count Vowel and Consonant from a sentence.
//Read the sentence from a file. Use Constructor to read from file.
//Use Method to show output to the user.
https://ideone.com/incxN2
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
//C++ program to count word and sentence from a file.
//Show the use of Constructor and Destructor effectively.
// Use constructor to read from file and use method to display output to the screen.
https://ideone.com/Geo6pt
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
//C++ program for String Array sorting using bubble sort algorithm.
//Show the use of multiple class here. One class must have minimum one method.
https://ideone.com/dMqOtQ
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
//C++ program for Bubble Sort of a given data from user.
//Use one method with parameter to take full array from main function to sort.
//No need to return anything from method. Just print the sorted array.
https://ideone.com/MZMN1n
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
C++ program for Bubble Sort. Use Multiple Inheritance with Pointer Array.
https://ideone.com/9rIPjj
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
c++ program for Binary Search implementation.
Use Multilevel Inheritance.
https://ideone.com/6mjj4t
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
Count number of students above,below and average students Using "C++ Programming"
Use Multilevel Inheritance
https://ideone.com/6PDIiB
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
Constants usage in "C++ Programming". Use Encapsulation
https://ideone.com/rMpsyk
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
"C++ Program" which represent the ATM transaction. Use Data Abstraction.
https://ideone.com/QR6FOq
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
Descending an Array using "C++ Programming". Use Constructor.
https://ideone.com/zZkSnk
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
Addition of two numbers without using arithmetic operator as like "+" using "C++ Programming" Use Method with parameter.
https://ideone.com/5TQu1B
Md. Abdul Karim
ReplyDeleteId: 201910508
60th batch
Add two Matrices and store the result into another Matrices using "C++ Programming" . Use at least one Method with return type.
https://ideone.com/fMPcEc