Introduction

C Programs




Program [1]

Write a program to input number of days from user and display it, week and days format.


For Example

input is : 20 days

then output is:

2 week and 6 days.



View Solution


Program [2]

Write a program to input number of days from user and display it, Month, Week and Days format. (consider 30days = 1 month)


For Example:

input is : 50 days


output is: 1 month, 2 week and 6 days.



View Solution


Program [3]

Write a C program which accept a character from user and ASCII Value of that character


View Solution


Program [4]

Write a program which accept one integer number from user and print it.


View Solution