Write a program that asks the user to enter a string

Assignment Help Basic Computer Science
Reference no: EM13308149

Write a program that asks the user to enter a string. Create a pointer called strPtr and print the first character, third character and fifth character from your string using this pointer. Create another pointer called str1Ptr that starts with the ninth character and prints out the next five characters. EXAMPLE Please enter a string: I love CIS Programming. The first character is: I The third character is: l The fifth character is: v Starting with the ninth character: IS Pr

Reference no: EM13308149

Questions Cloud

How are the two directory services alike : Windows Server 2000/2003/2008 uses Active Directory for its directory service, and NetWare / OES uses NOS. How are the two directory services alike? How are they different?
Determine the acceleration a of the plate on the bar : The bar is prevented from rotating by the two pegsA and B fixed to the plate. Determine the acceleration a of the plate for which no force is exerted on the bar by either peg A or B.
Wholesaling and retailing jewellery nationally all across : Pandora Diamonds and Gems Pty Ltd is a company engaged in the business of importing, wholesaling and retailing jewellery nationally all across Australia.
Find the amplitude of current oscillations in the circuit : A 1-microF capacitor, a 10-Ohm resistor and a 1 microH inductor are connected in series with a sinusoidal signal generator of 10V peak voltage amplitude operating at a frequency ω of 100 rad/s. Find the amplitude of current oscillations in the cir..
Write a program that asks the user to enter a string : Write a program that asks the user to enter a string. Create a pointer called strPtr and print the first character, third character and fifth character from your string using this pointer.
Calculate the maximum shear and indicate in terms of x : a. Determine the shear and moment diagram. b. Calculate the maximum normal stress on the top of the beam, on the bottom of the beam and indicate in terms of x its location.
Write a class that encapsulates the evolution : Write a class (and a client class to test it) that encapsulates the evolution of the sales tax rates in the 50 U.S states over the last 10 years. Your only instance variable should be a two-dimensional array of values representing the sales tax ra..
What is the ratio of the charge to its initial value : A series RLC circuit contains a 2200 ohm resistor, a 14.0 nF capacitor, and a 0.0300 H inductor. what is the ratio of the charge to its initial value
Write a program that calculates the user''s bmi : Write a program that calculates the user's body mass index (BMI) and categorizes it as underweight, normal, overweight, or obese, based on the following table from the United States Centers for Disease Control

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Flowchart for batch control tape

Design a document flow chart to depict each of given situations. Batch control tape is prepared along with set of transactions to make sure completeness of the data.

  Explain how determine the process state and what are states

Explain how to determine the process state and what are the states a process can be in. (Hint: use the man pages! You may have to do some cross referencing

  Shortest path between each pair of nodes using floyd''s metho

find the shortest path between each pair of nodes using Floyd's method

  Display an appropriate error message

User Radio Buttons with a shared event procedure and a Select Case to determine which text box (State name or abbreviation) should have the focus and which should be set to Readonly.

  Convert the following two''s complement to decimal numbers

Convert the following two's complement representations to decimal numbers (assume 5 bit numbers). a. 11101 b. 01111 c. 10011

  Explaining resulting scheme is not ind-cpa-secure

Let a variant of CBC-mode encryption where sender simply increments the IV by 1 each time a message is encrypted. Illustrate that resulting scheme is not IND-CPA-secure.

  A mobile app has to dynamically select an encryption

A mobile app has to dynamically select an encryption algorithm based on security requirements and computing time constraints.

  Sense the language of a

For this, sense the language of A is in the set of all languages, would showing this just involve making a DFA of one state that accepts everything? I am not sure how to show this.

  Sort the arraylist using the sort method associated

Sort the ArrayList using the sort method associated with the ArrayList and then display the sorted data in a second control. It should use visual basic langage.

  E-books distributor

You are a linguistic working at an e-books distributor. Your management has interest in finding out if commonly used words used in a book make the books more popular, therefore more books would be sold if the number of commonly used words in the book..

  Relationship between step and impulse

What is the relationship between step and impulse responses for RC and RL circuits? Use simple circuits with R = 1 Ohm, L = 1 H and C = 1 F

  What inheritance relationships would you establish

What inheritance relationships would you establish among the following classes? · Student · Professor · TeachingAssistant · Employee · Secretary · DepartmentChair · Janitor · SeminarSpeaker · Person · Course ·Seminar · Lecture · ComputerLab

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd