Question: Please do not use iostream C not C++ So i have to make 3 different programs using c (not c++) using stdio.h, stdlib.h, and also

Please do not use iostream

C not C++

So i have to make 3 different programs using c (not c++) using stdio.h, stdlib.h, and also time.h:

Thank you guys so much

Write a program using function(use return in each function and the variable be used as parameters):

---To round the floating point number to 3 digits.eg if input is 3456.7856 output should be 3456.786

Write a program to show whether the year is a leap year or not .If it is then add the digits of the year and write the sum

Format of output should be:

Enter the Year 2016

2016 is a leap year and sum of digits is 9

Write a program

If a>b then swap two numbers

If a

If two numbers are equal then add the numbers

The output should be displayed this way

5>3 a=3 b=5

3<5 c=b-a>

5==5 c=b+a c=10

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!