subject

Int x = 6; string msg = "i am enjoying this class."; string msg1 = msg. touppercase(); string msg2 = msg. tolowercase(); char ltr = msg. charat(x); int strsize = msg. length(); system. out. println(msg); system. out. println(msg1); system. out. println(msg2); system. out. println("character at index x = " + ltr); system. out. println("msg has " + strsize + "characters.");

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:50
A911 dispatcher is the sole sender of messages to all police officers. while on patrol, officers communicate with the dispatcher who, in turn, relays messages to other officers. the officers do not communicate directly with one another. this illustrates a network.
Answers: 1
question
Computers and Technology, 23.06.2019 19:50
Which feature is selected to practice and save the timing of a presentation
Answers: 1
question
Computers and Technology, 24.06.2019 11:20
Print "censored" if userinput contains the word "darn", else print userinput. end with newline. ex: if userinput is "that darn cat.", then output is: censoredex: if userinput is "dang, that was scary! ", then output is: dang, that was scary! note: if the submitted code has an out-of-range access, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.#include #include using namespace std; int main() {string userinput; getline(cin, userinput); int ispresent = userinput.find("darn"); if (ispresent > 0){cout < < "censored" < < endl; /* your solution goes here */return 0; }
Answers: 3
question
Computers and Technology, 25.06.2019 00:30
Which of these serves as a bridge between the programming team and the audio team?
Answers: 2
You know the right answer?
Int x = 6; string msg = "i am enjoying this class."; string msg1 = msg. touppercase(); string msg...
Questions
question
Social Studies, 19.01.2020 05:31
Questions on the website: 13722367