subject

Given array : string names[10]; and text file “data. txt”. write a program to do the following

a. copy data from the file into array names

calling statement: copydata(“data. txt”, names);

b. display array names

calling statement: displaynames( names );

c. sort array names using the “sort” member of library

calling statement: sort(names, names+10);

d. display the sorted form of array names

calling statement: displaynames (names );

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
Open this link after reading about ana's situation. complete each sentence using the drop-downs. ana would need a minimum of ato work as a translator. according to job outlook information, the number of jobs for translators willin the future.
Answers: 3
question
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
Which computer tools allow you to communicate with coworkers, family,and friends
Answers: 1
You know the right answer?
Given array : string names[10]; and text file “data. txt”. write a program to do the following
Questions
question
Mathematics, 06.12.2020 20:20
question
Mathematics, 06.12.2020 20:20
question
Mathematics, 06.12.2020 20:20
Questions on the website: 13722362