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

  What purposes do cpus, memory and i-o devices

What purposes do CPUs, memory and I-O devices individually serve in a computer system

  Determine present worth-future worth of soldering machine

The initial cost is in week 0 and the payments are in years 1-4. Determine the present worth, future worth, and annual worth for.

  How to make components of system user-friendly

How do components of your computer system interact within system? What improvements or additions to your system do you think would benefit you or make system more user-friendly? Why?

  How do you create a 4d array of int in c++

How do you create a 4D array of int in C++

  How do providing goods and services for government differ

How do providing goods and services for the government differ from providing goods and services for other organizations?

  1.what is the value of the following instruction?

1.What is the value of the following instruction? mov al,01101011b shr al,22.What is the two's complement of the binary number 11010000?3.Which statement defines an array local variable consisting 40 signed words?

  Advantage to process the data

You can write your program to next the loops in either direction, that is, process row by row or column by column. Explain which way you would choose to process the data. What is the advantage?

  Create flowchart and psuedo code for math program

Create flowchart and psuedo code for math program which permits the user to enter two separate numbers and choose one of four mathematical operations (add, subtract, mutiply, divide).

  Find one article on computer or information technology

Find one article on computer or information technology

  Can you explain what is throw try and catch

Can you explain what is throw, try and catch

  Use matlab to write a function function

The users input the function of their choice and fRotate plots the function within the given interval and its rotated version on the same figure window. Please attach graph.

  Write a method called median

Write a method called median that accepts an array of integers as its argument and returns the median of the numbers in the array. The median is the number that will appear in the middle if you arrange the elements in order

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