*Print the Reverse of a Number*/ #include<stdio.h> #include<conio.h> void main() { long num,i,sum=0,as; clrscr(); printf("\n Program for Print the Reverse of a Number");...
/*Sum of First and Last Digit of a Number*/#include<stdio.h>#include<conio.h> void main() { int num,sum=0,a,b; printf("\n Sum of First and Last Digit of a four Digits Number"); printf("\n Enter A Number ::");...
/*It is complied on Turbo C++ 3.0*/ #include<stdio.h>#include<conio.h> void main() { int i,result=0; clrscr(); for(i=1;i<5;i++) { result=result*10+i; printf("\n%d",result); ...
/*It is complied on Turbo C++ 3.0*/ We can write a program without using header-file in C language. First of All I will give a simple example to understand this concept. See the example: #include<stdio.h> #include<conio.h> ...
/*It is complied on Turbo C++ 3.0*/ #include <stdio.h>#include <dos.h>#include<conio.h>void main(){ struct date d; getdate(&d); clrscr(); textcolor(2); cprintf("Date in DD-MM-YEAR"); textcolor(6); cprintf("\n\rThe current Date is: %d-%d-%d", d.da_day,d.da_mon,d.da_year); get...
/*It is complied on Turbo C++ 3.0*/ /*Calendar Project in C */#include<stdio.h>#include<string.h>#include<conio.h>#include<process.h>int getNumberOfDays(int month,int year){ switch(month) { case 1 : return(31); case 2 : if(year%4==0) return(29); else return(28); ...
/*It is complied on Turbo C++ 3.0*/#include<stdio.h>#include<conio.h> void main() { float num1,num2,sum=0; clrscr(); printf("\n Enter Two Number :: "); ...
/*It is complied on Turbo C++ 3.0*/#include<stdio.h>#include<conio.h> void main() { clrscr(); printf("\n www.LovelyCoding.blogspot.com"); getch(); &nbs...