Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
hamza shaheen Questions
5601 Questions
Write a C++ program to which replace all the words "dog" with "cat" Go to the editor Sample Text: The quick brown fox jumps over the lazy dog. You can assume that the number of characters in a text is less than or equal to 1000
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
295
Write a C++ program which reads a list of pairs of a word and a page number, and prints the word and a list of the corresponding page numbers
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
114
Write a C++ program to convert a given number into hours and minutes. Separate the number of hours and minutes with a colon.
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
116
Write a C++ program to check whether the sequence of the numbers in a given array is a "Arithmetic" or "Geometric" sequence. Return -1 if the sequenc is not "Arithmetic" or "Geometric".
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
301
Write a C++ program find the total number of minutes between two given times (formatted with a colon and am or pm)
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
125
Write a C++ program to compute the sum of the two given integer values. If the two values are the same, then return triple their sum
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
161
Write a C++ program to get the absolute difference between n and 51. If n is greater than 51 return triple the absolute difference
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
261
Write a C++ program to check two given integers, and return true if one of them is 30 or if their sum is 30
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
125
Write a C++ program to check a given integer and return true if it is within 10 of 100 or 200
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
131
Write a C++ program to create a new string where 'if' is added to the front of a given string. If the string already begins with 'if', return the string unchanged
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
148
Write a C++ program to remove the character in a given position of a given string. The given position will be in the range 0..string length -1 inclusive
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
106
Write a C++ program to exchange the first and last characters in a given string and return the new string
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
197
Write a C++ program to create a new string which is 4 copies of the 2 front characters of a given string. If the given string length is less than 2 return the original string
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
121
Total:
5601
Previous
363
364
365
366
367
Next
Go