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...
-
What are the three main sections of the comprehensive annual nancial report? What are the main components of the nancial section?
-
For automobile accidents in a recent year in Maine, injuries occurred to 3865 of 30,902 subjects not wearing seat belts, and to 2409 of 37,792 subjects wearing seat belts. Find and interpret the...
-
Five null hypotheses were tested, and the P-values were 0.24, 0.17, 0.03, 0.002, and 0.02. How many of the hypotheses are rejected at the = 0.05 level if the Bonferroni adjustment is made?
-
Blue Marlin Company is considering the purchase of new equipment for its factory. It will cost $250,000 and have a $50,000 salvage value in five years. The annual net income from the equipment is...
-
Benoit Company produces three products-A, B, and C. Data concerning the three products follow (per unit): Product B A C Selling price Variable expenses: $ 88.00 $ 58.00 $ 80.00 Direct materials 26.40...
-
DJG Corporation purchased land in order to build new corporate headquarters for a purchase price of $758,000. The lawyers charged $2,500 to handle the legal aspects of the purchase. Closing costs...
-
Jordan \& Stone, CPAs, audited the financial statements of Tech Co., a nonpublic entity, for the year ended December 31, 19X1, and expressed an unqualified opinion. For the year ended December 31,...
-
John Wilguess, CPA, has been engaged to review the financial statements of Lucky Oil Company, a nonpublic company, for the year ended June 30, 19X4. The previous year's financial statements of Lucky...
-
a. In what forms may a CPA firm be organized? b. In what four groups are CPA firms often classified?
-
Your client, Byrd and Byrd, Inc., a regional trucking company, has prepared a financial forecast for the coming year and has asked you to examine it and issue a report to accompany it. Management's...
-
Visit the National Public Employers Labor Association website. What are three issues of concern to public employers? Do you think nonprofit employers should be concerned about those issues as well?...
-
Fill in the missing information marked with a in the credit card statement below (Payments/Credits, Unpaid Balance, Finance Charge, New Charges, New Balance). During this month, you made a payment of...
-
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.
-
Compute the mean effect size and its confidence limits.
-
Kapoor et al. (2011) collected data on the treatment of myeloma, which is a cancer of the blood. (You may think that this has little to do with psychology, but I have myeloma, and I take a...
-
Why does it make little sense to look for heterogeneity of effect sizes in this example?
Study smarter with the SolutionInn App