C language experiment report "array"
Student ID: __________ Name: __________ Class: __________ Date: __________
Instructor: __________ Grade: __________
Experiment 3 Array one, the purpose of the experiment
1, master the definition, assignment and input and output of one-dimensional and two-dimensional arrays
2, grasp the use of character arrays and character string arrays
3, master the sorting algorithm related to the array II, the experimental content
1. There is already an ordered array. After inputting a number, insert it into the array according to the original sorting rule.
2. Re-store the values in an array in reverse order. For example, the original order is 8, 6, 5, 4, 1. The requirements were changed to 1, 4, 5, 6, 8.
3, the following program is to sort the n elements in the array in order of small to large according to the selection method, please correct the errors in the program to make it run normally.
#include
#define N 20
Void main
{
Int a[N]={9,6,8,3,-1};
Int i,m;
Printf;
For(i=0;i
recommended article
- Research and implementation of the subject of "interest composition teaching method"
- E-commerce experiment report
- Middle school chemistry experiment report
- National Nature Experiment Report
- University physics experiment report
- Chemical experiment report "density = mass divided by body
- Middle school physics experiment report
- Biological Experiment Report "Comparing Catalase and
- “Legal Clinic Education in Multimedia Situations”
- Exploring the candle experiment report
- Beijiao Town Center National Small Language Cooperative Learning Experiment
- National Primary and Middle School Composition Series Training Experiment Report
popular articles
- Hyun dance family impression sentence
- Relieved words
- Respect the teacher's famous words
- Spring Festival blessing
- What I said to my father 2019
- Life motto
- University physics experiment report
- University Physics Demonstration Report
- 2014 motivational phrase
- Grateful mother's words
- Non-mainstream sentence 2019
- Web page production experiment report
- Not afraid of failure
- Weibo's famous sayings
- Physical experiment report
- Parental love
- Physical Experiment Report "Using Spectrometers and Transmitted Lights
- Legal maxim
- Motivate employees
- High school chemistry experiment report
- Philosophical words 2019
- Physical Experiment Report "Determination of Triangular Refractive Index
- Organic Chemistry Experiment Report
- Distressed sentence 2019
- experimental report
- Blessing phrase
- Good sentence excerpt 2019
- Physical experiment report "Specification of spectrometer and three
- Encourage words 2019
- Space mood phrase