BS (computer science)
programming issues by zeeshan..!!
Pages
home
c++ programs
Softwares
Books
Articles
Wednesday, 20 February 2013
A program to enter integer type value in array and then print the value in reverse order
#include<iostream.h>
using namespace std;
m
ain( )
{
int
abc
[4], i;
for(i=0;i<=3;i++)
{
c
out
<<"enter the values";
c
in
>>a[i];
}
c
out
<<"output in reverse order";
for(i=3;i>=0;i--)
c
out
<<
abc
[i]<<
endl
;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment