Category: easy

Area of a Circle

                              Area of a Circle   The program must accept the diameter of the circle as a command line argument and print the area of the circle rounding it up to 2 decimal places. Example Input/Output 1: Input: 14 Output: 154.00

Print Odd Even Negative Integer Count

                  Print Odd Even Negative Integer Count                                                   Accept N integers and print the count of odd, even and negative integer count as

Integer – Sum of Digits

                      Integer - Sum of Digits The program must accept an integer value N as a command line argument and print the sum of the digits in N. Example Input/Output 1:Input:14 Output:5 Example Input/Output 2:Input:1932 Output:15 Code: #include<stdio.h> int main(int argc,char *argv) {     int