8. A programmer was writing a program, but due to some syntax error he was not...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
8. A programmer was writing a program, but due to some syntax error he was not able to complete it. Help him to find the error and correct it, encircle any FOUR errors and write the corrected code in the given space. Correct Code Wrong Code #include<stdio.h> void main() 1 int a,b,c; scanf("%d%d%d%d", &a,&b,&c); if(a>b AND a>c) printf("a is big"); else if(b>c); printf("b is big"); otherwise printf("c is big"); 8. A programmer was writing a program, but due to some syntax error he was not able to complete it. Help him to find the error and correct it, encircle any FOUR errors and write the corrected code in the given space. Correct Code Wrong Code #include<stdio.h> void main() 1 int a,b,c; scanf("%d%d%d%d", &a,&b,&c); if(a>b AND a>c) printf("a is big"); else if(b>c); printf("b is big"); otherwise printf("c is big");
Expert Answer:
Related Book For
Smith and Roberson Business Law
ISBN: 978-0538473637
15th Edition
Authors: Richard A. Mann, Barry S. Roberts
Posted Date:
Students also viewed these programming questions
-
The financial statements of Prince Albert Gold Fields Limited are as follows: Prince Albert Gold Fields Limited Income Statement for the year ended December 31, 2010 (in $ thousands) Sales Less: Cost...
-
Pelverata Pickles produce gourmet pickled onions. These pickled onions are sold in 750ml jars.The following data gives information about the sales revenue and costs associated with the production of...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
State the date (or dates) on which corporation tax is due for payment in relation to the following periods of account: (a) the year to 31 March 2021 (b) the six months to 30 November 2020 (c) the 21...
-
Assume you are about to start your own business. What would you do from the beginning to ensure that your employees will be satisfied and motivated?
-
Returning to Kerry and Megan (Exercise 36), what would their account be worth if their account was compounded monthly? Recall that the formula for interest compounded yearly is \(A=P(1+r)^{t}\),...
-
Use flexible-budget formulas to construct a flexible budget based on the volume of sales.
-
The popular Racer Scooter comes in a variety of colors with lots of options. The customer can choose one of four color wheels, one of three sizes (small, medium, or large), and whether or not to have...
-
Find the sum of the following series: Answer 13 Question 6+12+18+ to 23 terms -40-25-10 to 15 terms 36 +31 +26 to 18 terms 18+29+40...+ 106 4+0-41 -0.8 0.3+0.2 +2.7
-
1. Suppose Siscos altercation occurred while he was en route to his house during an unpaid one-hour lunch break. Would Sisco still be eligible for compensation? Why or why not? 2. Would Sisco have...
-
Since rate control responds only during changes in the input to a controller, it may allow what to occur? Since rate control responds only during changes in the input to a controller, it may allow...
-
Craneel borrowed $ 5000 on Feb 24, 2022 and repaid $ 2080 ON MAY 10, 2012 and also $ 2008 on Sept 1, 2022 at a simple interact rate of 5.72 pa. what was the balance on Dec 31, 2022
-
Onopea Inc. considered two contingencies at the end of 2022: ** a probable loss in the range of $100,000 to $500,000 ** a reasonably possible loss of $160,000 Under U.S. GAAP, what is the balance for...
-
What are the approaches to risk management
-
How to convince a business owner to use a SaaS to maximize the visibility of his company on the Internet, to manage their customer relationships and to generate more in store traffic?
-
What is SWIFT, and how does it facilitate international banking operations and cross-border transactions?
-
Write a Java program that uses the escape sequences covered in class to print the following statement using ONE single println statement. (Hint: check lecture 1b) Note: you should Not use any white...
-
If the jobs displayed in Table 18.24 are processed using the earliestdue-date rule, what would be the lateness of job C? TABLE 18.24 Processing Times and Due Dates for Five Jobs Job C D E...
-
Distinguish between exclusive and concurrent Federal jurisdiction. Identify the two types of Federal concurrent jurisdiction.
-
Civil Code 1719, subdivision (a) provides in part that any person who draws a check that is dishonored due to insufficient funds shall be liable to the payee for the amount owing upon the check and...
-
This is a stocklist case arising under 220(b) of our [Delaware] General Corporation Law. The issue is whether a shareholder states a proper purpose for inspection under our statute in seeking to...
-
Why is standard deviation preferable to variance?
-
You buy a lottery ticket for BC100 on which you could win BC1,000,000, with a probability rate of 0.008%. Is this a risky investment? Could it be even riskier? How could you reduce the risk? Would...
-
Do shares in Internet companies carry a greater or smaller risk than shares in large retail groups? Why?
Study smarter with the SolutionInn App