C++ Programs
Categories
Cplusplus Programs
Graphics.h
Video Tutorials
Wednesday, 25 May 2016
Array TO Enter Values From User And Show OutPut
Array TO Enter Values From User And Show OutPut.........
#include<iostream>
using namespace std;
int main()
{
int a[3];
for(int i=0; i<3; i++)
{
cout<<"enter Value =";
cin>>a[i];
}
for(int i=0; i<3; i++)
{
cout<<"Value ="<<a[i]<<endl;
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment