Write a program segment that displays the characters in Name except the blank. Declare Name[20] As Character
Question:
Write a program segment that displays the characters in Name except the blank.
Transcribed Image Text:
Declare Name[20] As Character Declare K As Integer Set K = 0 %3D While K < 8 Set Name [K] = "A" %3D Set K = K + 1 End While Set Name [8] Set Name [9] = "B" %3D
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 58% (12 reviews)
For K 0 K 9 ...View the full answer
Answered By
Caroline Kinuthia
Taking care of the smaller details in life has a larger impact in our general well being, and that is what i believe in. My name is Carol. Writing is my passion. To me, doing a task is one thing, and delivering results from the task is another thing. I am a perfectionist who always take things seriously and deliver to the best of my knowledge.
4.90+
1934+ Reviews
4273+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Write a program segment that displays the persons last name. An array has been declared by the following: Declare FullName[25] As Character and contains a persons first and last names, separated by a...
-
Write a program segment that displays the contents of a previously declared array of strings called Names. Assume that the last entry in Names is "ZZZ", which should not be displayed.
-
Write a program segment that inputs up to 25 whole numbers (integers) from the user, terminated by 0, into an array called Numbers.
-
Case Study 1?1 Amazon in 2019 Answer the five questions at the end of the case. Thepurpose of this case, and others you will be assigned, is toillustrate the application of the concepts covered in...
-
An electromechanical open-loop control system is shown in Figure P2.13. The generator, driven at a constant speed, provides the field voltage for the motor. The motor has an inertia Jm and bearing...
-
Please view the Video from TedX, The Power of Touch, a discussion with Jane Anderson., The Power of Touch | Jane Anderson | https://www.youtube.com/watch?v=tafP2OgttCI After viewing the video, kindly...
-
Accent Photography, Inc., works weddings and prom-type parties. The balance of retained earnings was \($20,000\) at December 31, 2010. At December 31, 2011, the businesss accounting records show...
-
Summaries of the 2015 statements of cash flows for five different companies follow. For each company compute the missing dollar amount, and briefly describe the companys cash management policy...
-
Rudy Corporation provided the following trial balance on September 30, 2X20, which had been adjusted, except for income tax expense: Cash Accounts receivable (net) Inventory Property, plant, and...
-
The Williams Company sells a product called Mix-Right for $15 each and uses a perpetual inventory system to account for its merchandise. The beginning balance of Mix-Rights and transactions during...
-
Write a single statement that displays the first and last characters in Name. Declare Name[20] As Character Declare K As Integer Set K = 0 %3D While K < 8 Set Name [K] = "A" %3D Set K = K + 1 End...
-
Write a statement that displays the length of the string in the array FullName. An array has been declared by the following: Declare FullName[25] As Character and contains a persons first and last...
-
Simply Spa Collections had a current ratio of 2.5 to 1 on December 31 of the current year. On that date, the companys assets were as follows: Cash ................. $ 100,000 Accounts receivable...
-
3 Write 7 using rational exponents X 7 3 X
-
Whole blood has a surface tension of 0.058 N/m and a density of 1,050 kg/m. To what height can whole blood rise in a capillary blood vessel that has a radius of 2.3 x 10-6 m if the contact angle is...
-
The graph to the right shows the supply and demand for coffee in a small town. a. Calculate the dollar value of consumer, producer, and total surplus with the market in equilibrium. Show your work....
-
A structural steel welded plate section, fabricated from two 12 in. x 34 in. flange plates and one 12 in. x 1/2 in. web plate, all of ASTM A572, Grade 42, high-strength low-alloy steel, is shown on...
-
Use the Black-Scholes-Merton model to value a European put option on the spot price of a share when the strike price is $35, and the expiration is in 3 months. The current price of the share is $28....
-
1. Sandra Pilsden, the VicePresident for Human Resources in Learning, Inc. was concerned about a recent memo she had recently received from the CEO's office regarding the possibility of outsourcing...
-
Suppose that the laptop of Prob. 2.16 is placed in an insulating briefcase with a fully charged battery, but it does not go into sleep mode, and the battery discharges as if the laptop were in use....
-
An entry in the switching table of a virtual-circuit network is normally created during the setup phase and deleted during the teardown phase. In other words, the entries in this type of network...
-
Use the results of Problem P7-1 to infer that the bandwidth of a UTP cable decreases with an increase in distance. Problem 7-1 Using Figure 7.6, tabulate the attenuation (in dB) of a 18-gauge UTP for...
-
Use the results of Problem P7-4 to infer that the bandwidth of a coaxial cable decreases with the increase in distance. Problem P7-4 Using Figure 7.9, tabulate the attenuation (in dB) of a 2.6/9.5 mm...
-
Given a string length of 1.00 0.01 m and a period of 2.00 0.10, what is the uncertainty in gravity? No need to include units, but give them as m/s^2.
-
Overall, property taxes constitute a small piece of the macroeconomic pie in industrialized countries, but they are an important source of revenue for local governments. To what extent do local...
-
Two charges, q=43.5 nC and qB=-25.5 nC are placed as shown in the picture. y [m] + 9 B P 9A 1 0-1- x [m] What is the magnitude of the net electric field at point P? Provide your answer in N/C, use at...
Study smarter with the SolutionInn App