2. Quotation Duo
by CodeChum Admin
Quotation marks are usually paired with a similar type, like a double quote (") paired with another double quote ("), and the same goes for single quotes ('). However, I'd like to try complicating things by putting together a pair of a double quote(") and a single quote(') in one statement!
Can you do this simple challenge?
Output
A line containing a string.
"'
1. Triple Slash
by CodeChum Admin
Samurais are so awesome! I'd like to imitate their amazing sword skills some time but I just don't have the courage to harm myself, so I'd just like to print out three forward slashes (\) to digitally imitate the samurai's triple slash skill. Haha!
Sounds easy, right? Then code it now!
Output
Three lines with a single backslash symbol.
\
\
\
my output:
12x^4 + 9x^3 - 5x^2 - 1x - 1
excepted output:
12x^4 + 9x^3 - 5x^2 - x - 1
For term Cix^Pi, if the coefficient of the term Ci is 1, simply print x^Pi instead of 1x^Pi.
Write a program to assist a college student in selecting an appropriate humanities or social science course as part of their degree.The college maintains a list of approved transfer courses that are available for AAS degrees like Computer Technology.use the following as eligible courses:
Social science Humanities
ECO 210ART 101
GEO 101ENG 102
SOC 101MUS 105
PSY 201PHI 101
HIS 101REL 101
PSC 201
Create 2 lists for social science and humanities courses.Ask a student the course number they would like to take to fulfill the social science requirement.Search your list to see if the course is an acceptable course in that category.If so tell them the course they selected is fine.If not tell them that the course is not eligible and then display for them all the eligible courses.Repeat the same structure for humanities courses.The program should work for any number of courses in the lists
Using visual studio (C#) create a program, name it PRGYOURNAMEFA1, that implements a search and replace function recursively. Your program should allow a user to enter a string , a substring to be replaced in the entered string and a character/s to replace the found substring
Program Structure
1. A main class that implements the logic of the program – name this class TestSearchReplace
2. Add a class named SearchReplace to the main class with two methods, including:
a. SearchSubstring()- return method
b. ReplaceSubString() - void method
The two method should be called using an object in the main class. DONT CREATE THE TWO METHODS IN THE MAIN CLASS
Do you agree with the points given by the speaker Larry Smith In Why you will fail to have a great career? Give at least two (2) statements you support and another two (2) that you dislike. Defend your answer.