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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started