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, 22.06.2019 12:30
Some of the first computer games were created in the early 1970s by college students experimenting after hours to see what the were capable of doing.
Answers: 3
question
Computers and Technology, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
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
Chemistry, 08.03.2021 05:00
question
Mathematics, 08.03.2021 05:00
question
Social Studies, 08.03.2021 05:00
question
Physics, 08.03.2021 05:00
question
Social Studies, 08.03.2021 05:00