Wednesday 22 July 2020

Find Largest number from array using function program | C Language

Q : Write a program to input a set of numbers into an array. Pass the array to a function that finds and display the  largest number.?


Answer : 



#include<stdio.h>
#include<conio.h>
/*============================
     Girfa Student Help
     Find largest no. in array using function
==============================*/
void find(int ar[5]);

Tuesday 21 July 2020

Structure record input-read in file | C Langauge

Q : Write a program to write records of students in a file, where each record consists of student name, roll number, CGPA, and address. Read the records back from the file and display them.

Code : 

#include<stdio.h>

#include<conio.h>

/*============================

     Girfa Student Help

     Structure write back to file

==============================*/

Full Pyramid program | C Language

Full pyramid program and size is given by user



Code :


#include<stdio.h>
#include<conio.h>
/*============================
     Girfa Student Help
     Full pyramid program
==============================*/

Monday 20 July 2020

Table multiplication of given number

Q : Write program to generate multiplication table for first ‘n’  number, where ‘n’ is a user input.


Answer : 



#include<stdio.h>
#include<conio.h>
/*============================
     Girfa Student Help
     Multiplication table of given number
==============================*/