Saturday, 11 July 2020
Recursion
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Friday, 10 July 2020
Krishnamurti Number Program | C Language
Q : Write a program to print all the Krishnamurti number from 1 to n. Here, n is user dependent. A Krishnamurti number is a number whose sum of factorial of individual digits equals the number. For example, 145 = 1! + 4! + 5! = 1 + 24+ 120 = 145.
Answer :
#include<stdio.h>
#include<conio.h>
/*============================
Girfa Student Help
Krishnamurti number
==============================*/
int fact(int);
void main()
{
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
2D-Multiplication with function | C Language
Q : Write a function to display the multiplication table of the number.
Answer :
#include<stdio.h>
#include<conio.h>
/*============================
Girfa Student Help
Multiplication 2d array using function
==============================*/
void multi(int ar1[3][3],int ar2[3][3],int ar3[3][3])
{
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Element delete program from array | C Language
Q : Write a program that accept an array of 10 integers and a number to be deleted from the array if found. Represent deleted element with -1 and display final array. If not found print appropriate message.
Answer :
#include<stdio.h>
#include<conio.h>
/*============================
Girfa Student Help
Delete operation in array
==============================*/
void main()
{
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Subscribe to:
Posts (Atom)