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...
-
Do you believe OD or OT would be more effective in helping organisations adversely affected by the global financial crisis and subsequent economic downturn? Justify your answer.
-
A sage of selling once said, Your job as a salesperson is to do 80 percent listening and 20 percent talking. Do you agree? Why or why not?
-
The 12-lb slender rod AB is pinned at A and Knowing that the diameter of the cylinder is 12.5 in. and that the coefficient of static friction is 0.35 between all surfaces of contact, determine the...
-
File Edit View History Bookmarks Window Help < ezto.mheducation.com C +8 t IM G Bb i in M Questio... This window shows your responses and what was marked correct and incorrect from your previous...
-
Suppose you get this information that related to Nevada, and as CFO, you must calculate the overhead cost based on these workflows: Maintenance Cutting Cafeteria Labelling Product Design Marketing...
-
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 chart shows approximations of the density of metals, d, in grams per cubic centimeters for six metals. The mass of an object can be found by using the formula m = d V, in which m is the mass of...
-
Why would management adopt an earnings minimization objective?
-
Who pioneered the study of conformity? a. Skinner b. Asch c. Milgram d. Fiala
-
Define double-entry accounting.
-
One highly effective biomedical treatment for a psychological disorder that is used mainly to arrest and prevent manic-depressive episodes is a. Chlorpromazine b. Lithium c. Librium d. Valium
-
In what general ways would an objective of income tax deferral affect the financial statements?
-
Ogon quit Enterprises prepares annual financial statements and adjusts its accounts only at the end of the year. The following information is available for the year ended December 31, 2012: a. Ogon...
-
$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...
-
You have a business worth $1,000,000 and other assets (including your home) worth an additional $750,000. What is the recommended automobile insurance policy that you should carry to be FULLY...
-
Republic Services and Waste Management company Compare the companies' long term Revenue, Gross Profit, Operating Profit) and Net Income and related growth trends. What is the average three year...
-
A young couple own a home in NJ. They would like to have Homeowner Insurance coverage for their home in NJ, in case of frozen plumping and damage form heavy snow or power surges. Which Homeowner's...
Study smarter with the SolutionInn App