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
Get step-by-step solutions from verified subject matter experts
