Write a program which takes two strings as input from the user (str1 and str2). This...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program which takes two strings as input from the user (str1 and str2). This program should print two strings as output (op1 and op2). op1 should contain all the characters which are present in str1 but NOT present in str2. op2 should contain all the characters which are present in str2 but NOT present in str1. For example: Example 1 Example 2 str1 ABC BC str2 BC BANGALORE op1 A op2 <null> ANGLORE Write a program to call the below mentioned rest APIs. Display the email ids returned by the GET method https://reqres.in/api/users/1 https://reqres.in/api/users/3 https://reqres.in/api/users/10 Outputs should be: george.bluth@reqres.in emma.wong@regres.in byron.fields@reqres.in Write a program which takes two strings as input from the user (str1 and str2). This program should print two strings as output (op1 and op2). op1 should contain all the characters which are present in str1 but NOT present in str2. op2 should contain all the characters which are present in str2 but NOT present in str1. For example: Example 1 Example 2 str1 ABC BC str2 BC BANGALORE op1 A op2 <null> ANGLORE Write a program to call the below mentioned rest APIs. Display the email ids returned by the GET method https://reqres.in/api/users/1 https://reqres.in/api/users/3 https://reqres.in/api/users/10 Outputs should be: george.bluth@reqres.in emma.wong@regres.in byron.fields@reqres.in
Expert Answer:
Related Book For
Managerial accounting
ISBN: 978-0471467854
1st edition
Authors: ramji balakrishnan, k. s i varamakrishnan, Geoffrey b. sprin
Posted Date:
Students also viewed these operating system questions
-
Microprocessor Lab work Using emu8086-assembler and microprocessor emulator Solve all the problems,I will upvote you. Following the codes to be done by assembly language Task 01 Write a program that...
-
Remember, most of the lab problems are mostly solved within the lab. So, if you can utilize your lab time, you can solve completely or most of the problem within the lab time This problem will be...
-
It is not impossible for ML to fly high in the future but there is a lot of area that need to be improved by Mun Leong. As a business analyst, what will be the areas for future improvement that need...
-
A data analyst decided to do all design work from home and wants to create a home office. The analyst needs a new computer for $1,900 and printer/scanner for $250. A vendor offers a financing option...
-
The rotating shaft shown in the figure is machined from AISI 1020 CD steel. It is subjected to a force of F = 6 kN. Find the minimum factor of safety for fatigue based on infinite life. If the life...
-
Calculate the melting point of ice under a pressure of 10 MPa. Assume that the density of ice under these conditions is approximately 0.915 g cm-1 and that of liquid water is 0.998 g cm-1.
-
Transfer Pricing The Leviathan Steel Company has a coal-mining subsidiary in West Virginia. A substantial amount of the coal produced by the subsidiary is used by Leviathan's steel foundries located...
-
Shown below and on the next page are comparative balance sheets for Schmitt Company. Additional information: 1. Net income for 2014 was $93,000. 2. Depreciation expense was $34,000. 3. Cash dividends...
-
thank you Shadee Corporation expects to sell 630 sun shades in May and 420 in June. Each shade sells for 3152 . Snauee 3 beginning and ending finished goods inventorles for May are 85 and 55 shades,...
-
You are discussing your 401(k) with Dan Ervin when he mentions that Sarah Brown, a representative from Bledsoe Financial Services, is visiting East Coast Yachts today. You decide that you should meet...
-
What are some recent (within the past 12 months) article, webinar or blog on effective recruiting, hiring and/or selection strategies? What are the important information for managers from each...
-
you will assume the role of Chief Financial Officer of Monsanto Corporation. Bayer is considering a bid for United States seed company Monsanto. Assume that relevant tax rate is 35%. EBIT,...
-
The copper is present in the slag as dissolved Cu2O and in the alloy as dissolved elemental copper. The reaction representing the equilibrium process can be represented as Cu2O(slag) + Pb(metal) =...
-
Write a logical expression that is equivalent to the Exclusive OR gate on 2 inputs, called in1, in2: If either one or the other (but not both) input is True, then your expression should evaluate to...
-
Given the RCL circuit with a non-linear resistor where VR = R(i + i). The input is the voltage source V(t) and the output is the voltage over the capacitor Vc (t) Calculate part a) and b) manually...
-
A consumer electronics company was formed to develop cell phones that run on or are recharged by fuel cells. The company purchased a warehouse and converted it into a manufacturing plant for...
-
After the accounts are adjusted and closed at the end of the fiscal year, Accounts Receivable has a balance of $640,799 and Allowance for Doubtful Accounts has a balance of $19,029. What is the net...
-
What tools are available to help shoppers compare prices, features, and values and check other shoppers opinions?
-
List two key advantages of the payback method.
-
The Glass Vessel Company has established the following budget for producing one of its hand-blown vases: Materials (silica) . 2 pounds @ 1.25 per pound Labor ...... 1.5 hours @ $15.00 per hour In...
-
List one advantage and one disadvantage of the account classification method. Discuss.
-
You are presented with the following summarised information relating to Block plc for the year to 30 September 2008: Additional information: 1 Block purchased 80 per cent of the share capital of Chip...
-
Pop and Mom Ltd bought 120,000 of the 200,000 issued ordinary 1 shares of Sonny Ltd for 300,000 on 31 July 2004. Sonny Ltd financial statements are drawn up annually to 31 December. The balance sheet...
-
On 1 January 2008, Sons and Co Ltd had an issued share capital of 200,000 ordinary 1 shares. The balance on the profit and loss account was 20,000 and there was also a general reserve of 16,000....
Study smarter with the SolutionInn App