What is the output of the code corresponding to the following pseudocode? Declare Dash As Character Declare
Question:
What is the output of the code corresponding to the following pseudocode?
Transcribed Image Text:
Declare Dash As Character Declare A, B, C As Integer Set Dash For (A = 1; A <=3; A++) Write A For (B = 1; B <= A; B++) Write B End For(B) For (C = 1; C <= A; C++) Write Dash + Dash + Dash End For(C) End For (A)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 50% (4 reviews)
1 1 2...View the full answer
Answered By
Somshukla Chakraborty
I have a teaching experience of more than 4 years by now in diverse subjects like History,Geography,Political Science,Sociology,Business Enterprise,Economics,Environmental Management etc.I teach students from classes 9-12 and undergraduate students.I boards I handle are IB,IGCSE, state boards,ICSE, CBSE.I am passionate about teaching.Full satisfaction of the students is my main goal.
I have completed my graduation and master's in history from Jadavpur University Kolkata,India in 2012 and I have completed my B.Ed from the same University in 2013. I have taught in a reputed school of Kolkata (subjects-History,Geography,Civics,Political Science) from 2014-2016.I worked as a guest lecturer of history in a college of Kolkata for 2 years teaching students of 1st ,2nd and 3rd year. I taught Ancient and Modern Indian history there.I have taught in another school in Mohali,Punjab teaching students from classes 9-12.Presently I am working as an online tutor with concept tutors,Bangalore,India(Carve Niche Pvt.Ltd.) for the last 1year and also have been appointed as an online history tutor by Course Hero(California,U.S) and Vidyalai.com(Chennai,India).
4.00+
2+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
What is the output of code corresponding to the following pseudocode if the users name is Sammy? Declare Dash As Character Declare Count As Integer Declare Number As Integer Declare Name As String...
-
What is the output of code corresponding to the following pseudocode if the user inputs 2, 3, 4, 5? = 0 Write Sums [Count] Set Count = Count - 1 End While
-
What is the output of this program if code corresponding to this pseudocode is run? Main Declare X As Integer, Y As Integer Set X = 1 Set Y = 2 Call Sub(X, Y) Write X Write Y End Program Subprogram...
-
Swift - iOS Xcode 9.4 Write a function that: - takes in an array of integers and separates each element ofthe array into odd and even numbers - then splits the array into lists that are sorted in...
-
An ideal set of gears is shown in Table 2.5, item 10. Neglect the inertia and friction of the gears and assume that the work done by one gear is equal to that of the other. Derive the relationships...
-
Discuss to what extent segment reporting is beneficial to different user/ stakeholder groups.
-
Explain what a kinship system is and relate it to ideas about descent and group membership.
-
Austen Manufacturing produces self- watering planters for use in upscale retail establishments. Sales projections for the first five months of the upcoming year show the estimated unit sales of the...
-
Tyler Company has the following information related to purchases and sales of one of its inventory items. Date Description Units Purchased at Cost Units Sold at Retail Sept. 1 Sept. 10 Beginning...
-
1. What steps should Jamie Lee take so she may discover the reason for the denial of her credit application? 2. Jamie discovers that she has become the victim of identity theft, as her credit report...
-
Suppose that the first statement in Exercise 30 is changed as follows: Set HelloCount = 2 What is the output now?
-
What is the output of code corresponding to the following pseudocode? Declare Dash As Character Declare A As Integer Declare B As Integer Declare C As Integer Set Dash Set A = 1 While A
-
The plaintiffs contracted with Donna Gabbs, a real estate agent, to sell their home. They made it clear to Ms. Gabbs that they needed $137 000 from the sale to pay off their debts. The house was...
-
Paul Baker is a more-than-2 percent shareholder of Gemstone Brokers, Inc., an S Corporation. The corporation pays the premium for Paul Bakers personally owned disability income insurance contract....
-
Workers compensation is an example of which of the following types of liability? A. Absolute liability. B. Joint liability. C. Strict liability. D. Vicarious liability.
-
Explain how the creation of TRACE relates to asymmetric information problems in the bond markets.
-
The chair of the Fed announces that interest rates will rise sharply next year, and the market believes him. What will happen to todays interest rate on AT&T bonds, such as the 8(1/8)s of 2028?
-
The interest rate on negotiable CDs is usually very close to the T-bill interest rate; however, the gap between these rates increased substantially between March 2008 and mid-2009. Why do you think...
-
Suppose your business deals in expensive jewellery. Which inventory system and method should you use to achieve good internal control over the inventory? If your business is a hardware store that...
-
$10,000 was borrowed at 3.5% on July 17. The borrower repaid $5000 on August 12, and $2000 on September 18. What final payment is required on November 12 to fully repay the loan?
-
Consider the extended LAN connected using bridges B1 and B2 in Fig. 4-41(b). Suppose the hash tables in the two bridges are empty. List all ports on which a packet will be forwarded for the following...
-
It is mentioned in Section 4.8.3 that some bridges may not even be present in the spanning tree. Outline a scenario where a bridge may not be present in the spanning tree.
-
To make VLANs work, configuration tables are needed in the bridges. What if the VLANs of Fig. 4-47 used hubs rather than switches? Do the hubs need configuration tables, too? Why or why not? Figure...
-
Assignment: Email Your Instructor Instructions: Planning < > Read the document, Professional Email for D2L, to understand the etiquette and layout for this email. This is SharePoint file. If you...
-
Find the entry for Customer number: 216582, Region: East, Date of sale: 1/1/2015, Brand: Jeffrey Alexander, Collection: Torino, Description: 3" CC pull, List price: $2.52, Quantity 380. What is the...
-
H Week Four Discussion Post a response to this prompt on the discussion board: 1. Which part of the essay (introduction paragraph, thesis statement, body paragraphs, topic sentences, conclusion...
Study smarter with the SolutionInn App