Write a program in c to print
1
121
12321
1234321
123454321
Answer Posted / smita adhikari
a = 1
FOR i = 1 TO 5
PRINT a * a
a = a * 10 + 1
NEXT i
END
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is operator precedence?
What are header files in c programming?
what are enumerations in C
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
What is d scanf?
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
where are auto variables stored? What are the characteristics of an auto variable?
What is define directive?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Where static variables are stored in memory in c?
What is structure padding in c?
What is the difference between constant pointer and constant variable?
Explain how can a program be made to print the name of a source file where an error occurs?
How can a program be made to print the name of a source file where an error occurs?
What are the loops in c?