1. Write a program to compute the values of square-roots and squares of the numbers 0 to 100 in steps 10 and print the output in a tabular form as shown below. 2. Write a program that determines...

1. Write a program to compute the values of square-roots and squares of the numbers 0 to 100 in steps 10 and print the output in a tabular form as shown below.

2. Write a program that determines whether a given integer is odd or even and displays the


number and description on the same line.


3. Write a program to illustrate the use of cast operator in a real life situation.


4. 1. Distinguish between the following pairs:


(a) getchar and scanf functions.


(b) %s and %c specifi cations for reading.


(c) %g and %f specifi cation for printing.


(d) %s and %[ ] specifi cations for reading.


(e) %f and %e specifi cations for printing.




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here