saurabhnissa Archive

Building Easy Guessing Game in C |Guess my Number Program|

Guessing Game in C Hello student today we learn Making a guessing game program in C. Using conditional function if() and while(), Guessing Game in C. Building A Guessing Game #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<time.h> int main() { int Guess, Random_Number;int y ; char choice = ‘y’; while(choice == ‘y’) { printf(“\n\t\t\t\t\t\t >>>>>>>>>GUESSING GAME<<<<<<<<“); time_t

Color Font and Background Adding color Text in C

Adding color Text in C In this article, we learn how to Display color font in the C programming language, without using getcolor() Function, Adding color Text in C like Opaque Text Color. Text Color In C #include<stdio.h> // back ground colours #define bgBlack “\e[40m” #define bgRed “\e[41m” #define bgGreen “\e[42m” #define bgYellow “\e[43m” #define

Learn Print Rectangle Pattern in C Programming

Pattern in C programming  Hello, guys today we learn about user-inputted Pattern in C programming (User input the value of ROW and COLUMN) Using Nested loop. And get output with the explanation. C program to print rectangle pattern /* C program to print hollow rectangle star pattern */ #include <stdio.h> int main() { int i,

Stack program in CPP using Class and Array

Stack Program in CPP A stack is like a standard C++ container adapter, It designed to be used in a LIFO (Last in First Out) context. That is implemented with an interface. Let’s learn through an example of the Stack program in CPP Stack code in CPP //A simple stack example: push, empty, pop and top   
Learn For Free.