Question: C-Programming (Answer Both questions separately) Q1. Write a C program that reads a two-digit positive integer and duplicates its digits. For example, if the user

C-Programming (Answer Both questions separately)

Q1. Write a C program that reads a two-digit positive integer and duplicates its digits. For example, if the

user enters 12, the program should display 1122.

Q2. Write a C program to compute and to print explicitly all the roots of the following quadratic equation x2 2x 4 = 0.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!