Answer:
Explanation:
The language I use would do it as
h1$ = copy(h$,1,3)
This may not satisfy you, because your language could be quite different. You might want an input statement of some kind that would define h$. This assumes that somewhere h,h1 are declared as strings.
You also have to know how to read an input. My language uses readln(input,h)
and how to write it on the screen write(h1) or writeln(h1)
Answer:
The answer is Presentation Software.
Explanation:
The application that best suits her purpose is a Presentation Software. Such as: powerpoint, google presentations, keynote, OpenOffice Impress, Media Shout, Harvard Graphics, Adobe Persuasion.
These are excellent tools for Daisy's purpose.
Answer:
Following is given the code with all necessary descriptions as comments in it. The output is also attached under the code. I hope it will help you!
Explanation:
Answer:
X is in NP and Y is in NP-HARD ( A )
Explanation:
X is in NP and Y is in NP-HARD can be inferred from the previous statement made in the problem above because problem decision X can be in NP if it can BE reducible to a 3-SAT polynomial real time, if that can be achieved then 3SAT will be in NP since SAT is in NP as well.
also problem decision Y can be in NP-HARD if 3SAT can be reducible to it in polynomial time as well hence option A is the correct option