For many other Language Programs related to C++ , Data Structure microprocessor 8086,etc related to MSBTE, Engineering, IT related visit
our BLOG
#include<iostream>
using namespace std;
#include<iomanip>
using std::setw;
int main()
{
int n[10];
for(int i=0;i<10;i++)
{
n[i]=i+100;
}
cout<<"element"<<setw(13)<<"value"<<endl;
for(int j=0;j<10;j++)
{
cout<<setw(7)<<j<<setw(13)<<n[j]<<endl;
}
return 0;
}
Programs:-
There are programs of
Object-Oriented Programing, Operators (logical, arithmethic ,relational,etc)
,exception handeling , inheritance ,string operations ,etc
No comments:
Post a Comment