1. Write a program that performs the following. The user inputs a number and then enters a series of numbers from 1 to that number. Your program should determine which number (or numbers) is missing or duplicated in the series, if any. For example, if the user entered 5 as the initial number and then entered the following sequences, the results should be as shown. Input Sequence Output ---------------------- --------------- 1 2 3 4 5 Nothing bad However, if 7 were the high number, the user would see the results on the right for the following number entries: Input Sequence Output ---------------------- --------------- 1 3 2 4 5 Missing 6 Missing 7 And if 10 were the high number and the user entered the numbers shown on the left, note the list of missing and duplicate numbers: Input Sequence Output ---------------------- --------------- 1 2 4 7 4 4 5 10 8 2 6 Duplicate 2 ( 2 times) Missing 3 Duplicate 4 ( 3 times ) Missing 9
1 13155Which one of the following Union Ministries launched the Eco-Mark scheme for labeling the consumer products? (1) Ministry of Agro and Rural Industries (2) Ministry of Environment and Forests (3) Ministry of Food Processing Industries (4) Ministry of Consumer Affairs, Food and Public Distribution.
IES,
2 5383Dear Sir please give the answar for the following question. What is the CST rate, if C form is fail to file after issued final Assessment Order. Because our commidity is @ 4%. But in the assessment order they are demanding @12.5% tax to which c forms are not submitted. for this issue what is the rate applicable.
1 4042why the discharge pressure of ID fan showing negative at fan running condition.(boiler operating condition.)
5 18635What will be the result of the following program? char*g() { static char x[1024]; return x; } main() { char*g1="First String"; strcpy(g(),g1); g1=g(); strcpy(g1,"Second String"); printf("Answer is:%s", g()); } (A) Answer is: First String (B) Answer is: Second String (C) Run time Error/Core Dump (D) None of these
2 8259. Consider the following program main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is (A) 1 (B) 3 (C) -6 (D) none
9 22708What is the output of the following progarm?
#include
What happens in the following code, if u type 8 instead of *? proc sql noprint; create table abc as select 8 from lib.abc; quit;
3 6448one fuse has following data 80A 415V -6.9W HN SIZE 00 100 KA gG Please tell me about what is the mean of 100kA gG
2269Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.
1961Answer the following questions asked in SAS paper. 1.The spokes used in wheel of bicycle increases its (a)Moment of Intertia (b)Velocity (c)Acceleration (d)Momentum 2.According to suresh tendular, BPL in india (a)33% (b)35% (c)38% (d)40.5% 3Brain of Human adult weighs (a)1200-1300 gm (b)1600-2000 gm (c)500-800 gm (d)100-200 gm
2 8145My Question regarding owners drawings. case1; If owner paid some expenses from his own pocket and later that amount added to his salary then what adjustment entries will needed.
5 6751From the following particulars taken on 31 December, 1995, you are required to prepare a bank reconciliation statement to reconcile the bank balance shown in the Cash Book with that shown in the Pass Book: (i) Balance as per Pass Book on 31 December, 1995, O/D Rs 1,027. (ii) Four cheques drawn on 31 December but not cleared till January are as follows: Rs 12; Rs 1,021; Rs 98; and Rs 113. (iii) Interest on O/D not entered in Cash Book Rs 51. (iv) Three cheques received on 30 December and entered in the bank column of the Cash Book but not lodged in bank for collection till 3 January next: Rs 1,160; Rs 2,100; and Rs 2,080. (v) Cost of cheque book, Pass Book, etc; Rs 1.50 entered twice erroneously in Cash Book in November. (vi) A Bill Receivable for Rs 250 due on 29 December, 1995 was passed to the bank for collection on 28 December, 1990 and was entered in Cash Book forthwith whereas the proceeds were credited in the Pass Book only in January following. (vii) Chamber of Commerce subscription Rs 10 paid by bank on 1 December, 1990 had not been entered in the Cash Book. (viii) Bank charges of Rs 5 had been debited in the pass book twice erroneously. . . . plz be fast
2027A firm had the following Balances on 1 January 1994: (i) Provision for bad and doubtful debts Rs 2,500 (ii) Provision for discounts on debtors Rs 1,200 (iii) Provision for discounts on creditors Rs 1,000 During the year, bad debts amounted to Rs 2,000, discounts allowed were Rs 100 and discounts received were Rs 200. During 1995 bad debts amounting to Rs l,000 were written off while discounts allowed and received were Rs 2,000 and Rs 5,000 respectively. Total debtors on 31 December, 1995 were Rs 48,000 before writing off bad debts, but after allowing discounts. On 31 December, 1995, this amount was Rs 19,000 after writing off the bad debts, but before allowing discounts. Total creditors on these two dates were Rs 20,000 and Rs 25,000 respectively. It is the firm’s policy to maintain a provision of 5% against bad and doubtful debts and 2% for discount on debtors and a provisions of 3% for discount on creditors. Show the accounts relating to provisions on debtors and provisions on creditors for the year 1994 and 1995.
2026The following figures relate to the trading activities of M/s ABC Traders Ltd for the year ending 31 March 2004. Particulars Amount (Rs) Sales 5,20,000 Opening stock 76,250 Purchases 3,22,250 Closing stock 98,500 Sales return 20,000 Selling and Distribution Expenses Salaries 15,300 Advertising 4,700 Travelling 2,000 Administrative Expenses Salaries 27,000 Rent 2,700 Stationery 2,500 Depreciation 9,300 Other charges 16,500 Provision for tax 4,000 Non Operating Income Dividend on shares 9,000 Profit on sales of shares 3,000 Non Operating Expenses Loss on sale of fixed asset 4,000 You are required to: (i) Arrange the above figures in a form suitable for analysis. (ii) Show separately the following ratios. Net profit ratio Operating ratio Stock turnover ratio
1 6323
What are advantages of using Java?s layout managers than windowing systems?
How to synchronize slow growing bacterial species of Cyanobacteria, Thiobacilli, Mycoplasma?
What Testing process U r following in ur organization?
what r the strategies & methodologies r u following in preperation of test cases based on usecase?
Which one of the following activities is the most efficient and most cost effective at identifying defects? 1. Prototyping 2. Unit test 3. Beta test 4. Design/code inspection 5. Risk analysis
The Following Characterstics posses some XYZ company. * Uses formal standards and policies * Conducts software inspections * Has advanced configuration management and change control * Uses CASE tools * Has a software engineering process group * Gathers metrics on process and quality * Requires that developers have formal software engineering training * Practices continued process improvement Based on aboue , Tell me which CMM Level is the company..? 1. Level 1 - Initial 2. Level 2 - Repeatable 3. Level 3 - Defined 4. Level 4 - Managed 5. Level 5 - Optimizing
Rules of civil law are different than that of criminal law. Are you prepared to enter this knowing that there is little guidance from within our office?
During a heart attack, blood flowing to the heart muscle is interrupted by blockage of a coronary artery. How would you expect the metabolism in the heart to change?
A 22 year old woman collapses following Neville Barnes forceps delivery of the second twin. She is hypotensive and tachycardic and the estimated blood loss is now 800ml. How would you manage this situation?
I'm new to sewing, and I need to know what are some good pieces to start with?
Which namespace do the classes, allowing you to support COM functionality, are located?
Who was the first person to recognize that true flies have two wings and gave them the name ?Diptera??
Who was the first person to recognize that true flies have two wings and gave them the name ?Diptera??
What is the trouble in growing streptococcus species?
What are the Conditions for growing slow-growing mycobacteria?