j

Tuesday, 3 November 2015

Write a program, A person read 34 pages per day of a book, takes total number of pages of book from user and find total days to complete this book.



#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int tot_page,comp_day;
printf("Enter total page of book ::");
scanf("%d",&tot_page);
comp_day=tot_page/34;
printf("%d days to complete this book.",comp_day);
getch();
}

Subscribe to this Blog via Email :