Menu

[Solved]Create Program Reads Set Two Values File P10datatxt Decodes Print Message Screen First Col Q37278536

Create a program that reads in the set of two values in the filep10data.txt and decodes them to print out a message on the screen.The first column of data contains the index value that you need tosort into order. The second column contains the message data. Besure to sort the pair of data at the same time. Then print toscreen the sorted values of column 2 to form the message. You mustuse arrays. Reference the Sort algorithm on pg 243, but modify itfor use with two terms.

codeblocks

program c

data to use

41 111

50 32

64 109

76 71

91 79

49 109

99 10

22 10

12 32

78 82

-65 97

-19 32

9 104

70 116

98 33

-25 32

0 105

11 101

-29 115

68 110

-45 97

1 110

59 105

44 114

63 110

-22 110

-76 110

-55 116

86 32

-99 67

-13 109

52 97

21 108

67 101

28 49

89 74

-30 110

-43 116

94 66

42 103

82 65

58 115

6 32

-36 105

-47 108

85 84

-5 101

24 69

55 115

35 32

-66 114

39 114

17 110

19 97

-8 108

-2 116

-82 111

80 69

14 102

47 97

61 103

-10 112

-70 103

4 103

38 112

73 10

-53 117

-24 111

32 48

71 33

7 116

-33 111

30 54

-14 111

27 69

-16 99

16 105

Expert Answer


Answer to Create a program that reads in the set of two values in the file p10data.txt and decodes them to print out a message on … . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *