write a c++ program to declare an array named marks of ten elements.

Recommended Answers

All 2 Replies

We don't do homework. We'll help you when you're stuck, but you'll need to show some effort first.
If you are stuck, post up what code you have done and explain the problem you're having.

Here is how to create an array:

datatype array_name[size_of_array];

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.