program that will accept any name and will be stored in an
array

Answer Posted / gunda raj

char a[10];
cout<<" enter any name please";
for(int i=0;i<9;i++)
{
cin>>a[i];
}

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to transform XML Data into HTML

1891


code to Hide and Show form controls

1799


code to images to rollover

1852


how to pass data between pages using Frames

2142


I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example:


code to keep a page Out of the browser history

1649


program to show a progress bar

2119


code to create a new window

1752


write a code to generate pseudorandom numbes

1777


how to create Expandable and Collapsible Menus

2652


Create a Menu that can be activated while clicking on Right Mouse button

1700


program to bring a window to the front

1558


how to create an anonymous function

1723


how to copy form data between different pages

1671


how to convert between arrays and strings

2105