Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 1.02 KB

File metadata and controls

90 lines (67 loc) · 1.02 KB

1 : PROGRAM ON FUNCTION

int name();
int daksh();
int report();


void main()
{
   report();
}

int name()
{
puts("\t\t\tDaksh");
}

OUTPUT :

Guru Nanak Dev Eng. College
 Department Of Technology
          Daksh 

2 CALCULATOR PROGRAM


int face();
int face()
{




puts(" _______________________\n|_______________________|\n|  1  |  2  |  3  | $


}


int main()
{face();}

OUTPUT

|_______________________|
|  1  |  2  |  3  |     |
|_____|_____|_____|_____|
|  4  |  5  |  6  |  +  |
|_____|_____|_____|_____|
|  7  |  8  |  9  |  -  |
|_____|_____|_____|_____|
|      0    |     |  *  |
|___________|_____|_____|

3 FACE PROGRAM

#include<stdio.h>
int face();

int face()
{
puts("_______________________\n |XXXXXXXXX |\n | ( ^ ^ ) |\n | ( 0 0 ) |\n | \ $
}




int main()
{
face();
}

OUTPUT

 | ( ^ ^ ) |
 | ( 0 0 ) |
 | \     / |
 |  \   /  |
 |    =  |