Skip to content
May 14, 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

Author: Prajwal Rai

Class 12(C-Program) / Plus 2

Sum of Natural Numbers in C-Programming

December 12, 2018 - by Prajwal Rai - Leave a Comment

FOR LOOP #include <stdio.h> int main() { int n, i, sum = 0; printf("Enter a positive integer: "); scanf("%d",&n); for(i=1; i <= n; ++i) { sum += i; // sum …

Sum of Natural Numbers in C-Programming Read More
Class 12(C-Program) / Plus 2

Even or Odd in C program

December 12, 2018 - by Prajwal Rai - Leave a Comment

//Even or Odd #include <stdio.h> int main() { int number; printf("Enter an integer: "); scanf("%d", &number); // True if the number is perfectly divisible by 2 if(number % 2 == …

Even or Odd in C program Read More
Class 12 / Plus 2

CLASS 12 NOTES- COMMING SOON

December 12, 2018 - by Prajwal Rai - Leave a Comment

CLASS 12 NOTES- COMMING SOON

CLASS 12 NOTES- COMMING SOON Read More
Class 12(C-Program) / Plus 2

Check Whether a number is positive , negative or zero in C program

December 12, 2018 - by Prajwal Rai - Leave a Comment

//Positive , Negative or Zero #include <stdio.h> int main() { double number; printf("Enter a number: "); scanf("%lf", &number); if (number <= 0.0) { if (number == 0.0) printf("You entered 0."); …

Check Whether a number is positive , negative or zero in C program Read More
Class 12(C-Program) / Plus 2

Check Whether a Number is Armstrong or Not in C Program

December 12, 2018 - by Prajwal Rai - Leave a Comment

/*Armstrong or Not*/ #include<stdio.h> main() { int n,r,c,sum=0,temp; printf("Enter number:"); scanf("%d",&n); temp=n; while(n>0) { r=n%10; c=r*r*r; sum=sum+c; n=n/10; } n=temp; if(n==sum) printf("ArmStrong Number"); else printf("Not ArmStrong Number"); } Example: 153 …

Check Whether a Number is Armstrong or Not in C Program Read More
Class 12(C-Program) / Plus 2

Check Whether a Number is Palindrome or Not in C Program

December 12, 2018 - by Prajwal Rai - Leave a Comment

Reversing in C #include <stdio.h> int main() { int n, reversedNumber = 0, remainder; printf("Enter an integer: "); scanf("%d", &n); while(n != 0) { remainder = n%10; reversedNumber = reversedNumber*10 …

Check Whether a Number is Palindrome or Not in C Program Read More
Patterns in QBasic / QBasic

String Pattern in QBasic

December 10, 2018February 19, 2023 - by Prajwal Rai - Leave a Comment

String Pattern N NE NEP NEPA NEPAL CLS A$=”NEPAL” FOR I = 1 TO LEN (A$) PRINT LEFT$(A$,i) NEXT i END Display NEPAL NEPA NEP NE N CLS A$ = …

String Pattern in QBasic Read More
Numeric Pattern / Patterns in QBasic

Numeric Pattern in QBasic

December 10, 2018February 19, 2023 - by Prajwal Rai - Leave a Comment

MORE PROGRAM RELATED TO NUMERIC PATTERN USING SUB PROCEDURE (CLICK HERE) Series WAP to display the series 2   3   5   8   12   17………. upto 10th terms CLS i = 2 …

Numeric Pattern in QBasic Read More
IT / MY BLOG

Machine Learning a Probabilistic Perspective

December 6, 2018February 19, 2023 - by Prajwal Rai - Leave a Comment

World is filled with lots of data: images, music, texts, videos generated not only by people but also by computers and other devices. This will only continue to grow and …

Machine Learning a Probabilistic Perspective Read More
Class 11 / Plus 2

Functions of Operating System

December 5, 2018February 19, 2023 - by Prajwal Rai - Leave a Comment

Functions of Operating System Input / Output (I/O) Management: OS manages the input and output of computer. It applies to the flow of the data among the computers. It is …

Functions of Operating System Read More

Posts pagination

Previous 1 … 12 13 14 … 18 Next

Recent Posts

  • Research Paper2
  • Research Paper1
  • Price list using HTML and CSS
  • Grid example in CSS
  • Flexbox example in CSS

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

  • 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

  • Class 11
  • Class 12
  • Class 12(C-Program)
  • Fundamental
  • HTML AND CSS
  • IT
  • JavaScript
  • Modular Program
  • MY BLOG
  • Numeric Pattern
  • Others
  • Patterns in QBasic
  • PHP
  • Plus 2
  • Program Design Tools
  • QBasic
  • QBasic Projects
  • QBasic-Basics
  • Web Design
Copyright © 2025 Prajwal Rai Blog.
Maintained by Prajwal Rai