program for following output using for loop?
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Answer Posted / natu
Hellow Sashi Ur wrong because Ur program is giving output as
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
but the expected output is
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
please refer and tell me
| Is This Answer Correct ? | 49 Yes | 0 No |
Post New Answer View All Answers
How can you restore a redirected standard stream?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
How old is c programming language?
Do you know null pointer?
What is console in c language?
What is structure of c program?
Why is a semicolon (;) put at the end of every program statement?
Explain what is operator promotion?
Tell me is null always defined as 0(zero)?
Why header files are used?
What is a substring in c?
Tell me the use of bit field in c language?
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
What is substring in c?