CJCoding With Joseph
15free / daySign inCreate account
TitleOpen
55
Array Sorted OrderWrite a program that reads exactly 5 integers into an array.
easyNot startedSolve
56
Count Words in Char ArrayWrite a program that reads a line of text into a character array and counts how many words it contains.
easyNot startedSolve
89
Print First ElementAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
90
Print Last ElementAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
91
Print Array SizeAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
92
Change an ElementAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
93
Print Third ElementAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
94
Print All ElementsAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
95
Print All on One Line with SpacesAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
96
Sum All ElementsAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
97
Count the Elements with a LoopAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
98
Find the Largest ElementAn array called nums has already been created for you with the values {10, 40, 20, 50, 30}.
easyNot startedSolve
99
Find the Smallest ElementAn array called nums has already been created for you with the values {30, 10, 50, 20, 40}.
easyNot startedSolve
100
Print Elements with Comma SeparatorAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
101
Print in Reverse OrderAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
102
Calculate the AverageAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
103
Count Even NumbersAn array called nums has already been created for you with the values {10, 15, 20, 25, 30}.
easyNot startedSolve
104
Count Odd NumbersAn array called nums has already been created for you with the values {10, 15, 20, 25, 30}.
easyNot startedSolve
105
Sum Even Numbers OnlyAn array called nums has already been created for you with the values {10, 15, 20, 25, 30}.
easyNot startedSolve
106
Print Elements Greater Than 25An array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
107
Double Each Element and PrintAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
108
Print Elements with Their IndexAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
easyNot startedSolve
418
Count Negative NumbersThe program reads an integer n, then reads n integers into an array.
easyNot startedSolve
419
Sum of Squares of ElementsAn array int nums[] = {1, 2, 3, 4} is given.
easyNot startedSolve
420
Count Elements Divisible by 3An array int nums[] = {3, 5, 9, 10, 12, 7, 6} is given.
easyNot startedSolve
421
Find Range (Max minus Min)An array int nums[] = {7, 2, 9, 4, 11, 5} is given.
easyNot startedSolve
422
Print Elements at Odd IndicesAn array int nums[] = {10, 20, 30, 40, 50, 60} is given.
easyNot startedSolve
423
Product of First and Last ElementsAn array int nums[] = {3, 8, 2, 5, 6} is given.
easyNot startedSolve
57
Count Words with Extra SpacesWrite a program that reads a line of text into a character array and counts how many words it contains.
mediumNot startedSolve
109
Swap First and LastAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
mediumNot startedSolve
110
Shift Elements LeftAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
mediumNot startedSolve
111
Find Second LargestAn array called nums has already been created for you with the values {10, 40, 20, 50, 30}.
mediumNot startedSolve
112
Linear SearchAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
mediumNot startedSolve
113
Copy Array to Another ArrayAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
mediumNot startedSolve
114
Reverse Array In PlaceAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
mediumNot startedSolve
115
Count How Many Times a Value AppearsAn array called nums has already been created for you with the values {10, 20, 10, 30, 10}.
mediumNot startedSolve
116
Sum of Elements at Even IndicesAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
mediumNot startedSolve
117
Find Index of MinimumAn array called nums has already been created for you with the values {30, 10, 50, 20, 40}.
mediumNot startedSolve
118
Check if All Elements Are the SameAn array called nums has already been created for you with the values {10, 10, 10, 10, 10}.
mediumNot startedSolve
119
Multiply All Elements TogetherAn array called nums has already been created for you with the values {2, 3, 4, 5}.
mediumNot startedSolve
120
Print Pairs that Sum to TargetAn array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
mediumNot startedSolve
121
Remove Duplicates and PrintAn array called nums has already been created for you with the values {10, 20, 10, 30, 20}.
mediumNot startedSolve
122
Merge Two ArraysTwo arrays have already been created for you: - arr1 with values {10, 20, 30} (3 elements) - arr2 with values {40, 50, 60} (3 elements) A third array called merged has been declared with size 6.
mediumNot startedSolve
123
Running Sum (Prefix Sum)An array called nums has already been created for you with the values {10, 20, 30, 40, 50}.
mediumNot startedSolve
424
Count Elements Greater Than the AverageAn array int nums[] = {2, 4, 6, 8, 11} is given.
mediumNot startedSolve
425
Replace Negatives with ZeroAn array int nums[] = {3, -1, 4, -5, 2, -9} is given.
mediumNot startedSolve
426
Rotate Array Right by OneThe program reads an integer n, then reads n integers into an array.
mediumNot startedSolve
427
Find Second Smallest ElementAn array int nums[] = {5, 2, 8, 1, 9, 3} is given.
mediumNot startedSolve
58
Word Count and Length StatsWrite a program that reads a line of text into a character array and reports three values: 1) The total number of words 2) The length of the longest word 3) The number of words with length 4 or more The input may contain extra spaces at the beginning, at the end, or multiple spaces between words.
hardNot startedSolve
428
Count Peak ElementsAn array int nums[] = {1, 3, 2, 4, 1, 0, 5} is given.
hardNot startedSolve