Thursday, 11 January 2018
Forgot & in scanf
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.
Wednesday, 10 January 2018
Dynamic records using structure
Q : Write a program to input name of age record of a company. How many records have to input? It will ask at run time. After input complete, program will print all the records with average age.
Solution :
/*==============================
Girfa Student Help
Program : Age calculation in dynamic
structure
More Program :
http://girfahelp.blogspot.in/p/c-language-structure-programming.html
================================*/
#include<stdio.h>
#include<conio.h>
typedef struct stu
{
char name[20];
int age;
}student;
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.
Monday, 8 January 2018
Java Script Array of object
Java script support object data
type which can be used to store data as in structure ( C Language). Object of array,
you can use for pass bulk of record to server in ajax mvc application. Object
of array minimize your work and enable you to process records instead of
individual variable. Following code demonstrate to handle array of object with
input and print operation.
<html>
<head>
<title>Girfa
Java Script Array of object</title>
</head>
<body>
<h2>
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.
Sunday, 7 January 2018
Average of every third integer between 1 to 100
Q : Write and explain the action of WHILE statement. Develop a program in ‘C’ language to compute the average of every third integer number lying between 1 and 100. Include appropriate documentation.
Solution :
Read While loop
Program :
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
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)