Menu

saurabhnissa Archive

Print a Table in C Program and Generate Multiplication of Any Number 2*1

Print a Table in C Program Hey there today we Learn about Table Programming in C without using for() loop. Here an Example for you, It may helps you. Print a Table in C Program C Program to Generate Multiplication of Table #include <stdio.h>int till=1;void printTable(int tno, int till){if(till<=10){printf(“%d x %d = %d\n”,tno,till,tno*till);printTable(tno,till+1);} }int main(){printTable(2,1);

Store date in an integer variable Inputting the date using C

Inputting the Date using C Learn how to take Correct Date in Inputting the date using C and Printing in a suitable form. Learn through an Example C program to display date using the structure  #include <stdio.h> #include <stdio.h> //#include <stdbool.h> //#include<string.h> //#include<ctype.h> int chk_date(char ); int count=0; int main() { int z=-1; char s[11];

Advance C program for printing Message

Advance C program for printing Message Hello Dear in this program you learn, how to set character limitation in the C program using the Char function throughthe Advance C program for printing Message. Set Printing Character Limit in C #include <stdio.h> int main() {   char ara[5] = “HeyMan“;     printf(“%s”, ara); return 0; }

Time and Distance traveled program in C

Distance traveled program in C Hello dear, today we learn calculating time and Distance through a Time and Distance traveled program in C. Time traveled program in C #include<stdio.h> int main() { float u,a,dist; int t; printf(” Enter the value of a : “); scanf(“%f”,&a);1 printf(” Enter the year of u : “); scanf(“%f”,&u); printf(”
Learn For Free.