Skip to content
May 10, 2025
Prajwal Rai Blog

Prajwal Rai Blog

  • Home
  • MY BLOG
    • IT
    • Others
  • C-Program
  • Plus 2
    • Class 11
    • Class 12
  • QBasic
    • QBasic-Basics
    • Patterns in QBasic
    • Numeric Pattern
    • Modular Program
    • Program Design Tools
    • QBasic Projects
  • Web Design
    • HTML AND CSS
    • JavaScript
  • PHP
  • Fundamental
  • About me
Main Menu

Class 12(C-Program)

Class 12(C-Program)

ATM transaction in C program

January 16, 2020 - by Prajwal Rai - Leave a Comment

#include <stdio.h> unsigned long amount=1000, deposit, withdraw; int choice, pin, k; char transaction ='y'; main() { while (pin != 1234) { printf("ENTER YOUR SECRET PIN NUMBER:"); scanf("%d", &pin); if (pin …

ATM transaction in C program Read More
Class 12(C-Program)

Enter record and store information in C program

January 15, 2020 - by Prajwal Rai - Leave a Comment

//enter record and store information #include <stdio.h> main() { FILE *fptr; char name[20]; int age; float salary; /* open for writing */ fptr = fopen("emp.txt", "w"); if (fptr == NULL) …

Enter record and store information in C program Read More
Class 12(C-Program)

Sum of digits using recursion in C program

January 15, 2020 - by Prajwal Rai - Leave a Comment

//sum of digit using recursion #include <stdio.h> int sum (int a); int main() { int num, result; printf("Enter the number: "); scanf("%d", &num); result = sum(num); printf("Sum of digits in …

Sum of digits using recursion in C program Read More
Class 12(C-Program)

Product of two matrix in C program

January 15, 2020 - by Prajwal Rai - Leave a Comment

//product of two matrix #include <stdio.h> #define MAXROWS 10 #define MAXCOLS 10 void readMatrix(int arr[][MAXCOLS], int m, int n); void printMatrix(int arr[][MAXCOLS], int m, int n); void productMatrix(int array1[][MAXCOLS], int …

Product of two matrix in C program Read More
Class 12(C-Program)

Binary to Decimal in C program

January 15, 2020 - by Prajwal Rai - Leave a Comment

//Binary to Decimal in C program #include <stdio.h> main() {     int  num, binary_val, decimal_val = 0, base = 1, rem;     printf("Enter a binary number(1s and 0s) \n");     …

Binary to Decimal in C program Read More
Class 12(C-Program)

Prime or Not Using for statement in C program

January 15, 2020 - by Prajwal Rai - Leave a Comment

//for statement #include<stdio.h> #include<conio.h> int main() { int n,i,flag=0; printf("ENter a positive integer:"); scanf("%d",&n); for(i=2;i<n/2;i++) { if(n%i==0) { flag=1; break; } } if(flag==0) printf("%d is a prime number",n); else printf("%d …

Prime or Not Using for statement in C program Read More
Class 12(C-Program)

HCF and LCM using while statement in C Program

January 15, 2020 - by Prajwal Rai - Leave a Comment

//using while statement #include<stdio.h> int main() { int a,b,x,y,t,gcd,lcm; printf("Enter two integer:\n"); scanf("%d%d",&x,&y); a=x; b=y; while(b!=0) { t=b; b=a%b; a=t; } gcd=a; lcm=(x*y)/gcd; printf("Greatest common divisor of %d amd %d=%d\n",x,y,gcd); …

HCF and LCM using while statement in C Program Read More
Class 12(C-Program)

Print numbers entered and find sum using do while statement in C program

January 15, 2020 - by Prajwal Rai - Leave a Comment

//print number entered and find sum using do while #include<stdio.h> #include<conio.h> int main() { int n,i=1,sum=0; printf("Enter the value of N:"); scanf("%d",&n); printf("First %d numbers are\n",n); do { printf("%7d",i); sum=sum+i; …

Print numbers entered and find sum using do while statement in C program Read More
Class 12(C-Program)

Decimal to Binary using while statement in C program

January 15, 2020 - by Prajwal Rai - Leave a Comment

//using while statement #include<stdio.h> #include<conio.h> main() { int n,m,r,p=1,t=0; printf("Enter any decimal number:"); scanf("%d",&n); m=n; while(n!=0) { r=n%2; t=t+(r*p); n=n/2; p=(p*10); } printf("Decimal Number %d=Binary Number:%d",m,t); } DECIMAL To BINARY …

Decimal to Binary using while statement in C program Read More
Class 12(C-Program)

multiplication table in C program

January 15, 2020 - by Prajwal Rai - Leave a Comment

//multiplication table #include<stdio.h> #include<conio.h> main() { int i,j,p; printf("The Multiplication table of 1 to 10 is:"); for (i=1;i<=10;i++) { for(j=1;j<10;j++) { p=i*j; printf("%d*%d=%d\n",i,j,p); } printf("\n"); } getch(); }

multiplication table in C program Read More

Posts pagination

Previous 1 … 3 4 5 6 Next

Recent Posts

  • Betano Apostas Esportivas Afin De Apostar Em Futebol Ao Vivo, Basquete E Obter Os Grandes Bônus!
  • Betano Cadastro 2025: Tais Como Fazer Conta Começar A Jogar
  • Betano Application Baixar Apk Afin De Android E Ios Simply No Brasil
  • Фан Спорт Fansport веб-сайт Бк Ставки На Спорт Регистрация На Сайте С Бонусом Мобильное Приложение Fansport
  • Фан Спорт Fansport веб-сайт Бк Ставки На Спорт Регистрация На Сайте С Бонусом Мобильное Приложение Fansport

Recent Comments

  1. Dilip Patel on About me
  2. Kshitiz Shrestha on Simple HTML Project for students of Class 8,9,10,11
  3. Ganesh on About me
  4. sabin on About me
  5. Prajwal Rai on Library Functions in QBASIC-Introduction

Archives

  • May 2025
  • April 2025
  • April 2024
  • April 2023
  • March 2023
  • February 2023
  • September 2021
  • May 2021
  • April 2021
  • March 2021
  • August 2020
  • January 2020
  • December 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • October 2015
  • September 2015

Categories

  • 20bet Casino Logowanie 842
  • Bet20 Casino 746
  • Betano Site 34
  • Class 11
  • Class 12
  • Class 12(C-Program)
  • Dafabet Casino 891
  • Ekbet Live 397
  • Excursions 958
  • Fansbet Review 632
  • Fundamental
  • HTML AND CSS
  • IT
  • JavaScript
  • Metatrader Cryptocurrency Exchange 241
  • Modular Program
  • MY BLOG
  • Numeric Pattern
  • Others
  • Partycasino Bonus Code 10€ 839
  • Patterns in QBasic
  • PHP
  • Plus 2
  • Program Design Tools
  • QBasic
  • QBasic Projects
  • QBasic-Basics
  • Sportsbet Oficial 799
  • Web Design
Copyright © 2025 Prajwal Rai Blog.
Maintained by Prajwal Rai